forked from technote-space/auto-cancel-redundant-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (37 loc) · 1.01 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Auto Cancel Redundant Workflow
description: GitHub Actions to automatically cancel redundant workflow.
author: technote-space
inputs:
GITHUB_TOKEN:
description: Secret GitHub API token to use for making API requests.
default: ${{ github.token }}
required: true
TARGET_RUN_ID:
description: Target run id
default: ${{ github.run_id }}
required: true
EXCLUDE_MERGED:
description: Whether to exclude merge push.
required: false
default: 'false'
MERGE_MESSAGE_PREFIX:
description: Prefix to detect merge message.
required: false
default: 'Merge pull request'
EXCLUDE_TAG_PUSH:
description: Whether to exclude tag push.
required: false
default: 'true'
CONSIDER_RE_RUN:
description: Whether to consider re-run. (Just a simple check of updated_at)
required: false
default: 'false'
INTERVAL_MS:
description: Interval milliseconds
required: false
branding:
icon: 'x-circle'
color: 'orange'
runs:
using: node16
main: lib/main.js