-
-
Notifications
You must be signed in to change notification settings - Fork 116
/
action.yml
28 lines (28 loc) · 953 Bytes
/
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
name: 'Cancel Workflow Action'
description: 'This Action will cancel any previous runs that are not `completed` for a given workflow.'
author: styfle
branding:
icon: 'stop-circle'
color: 'white'
inputs:
workflow_id:
description: 'Optional - A single Workflow ID or a comma separated list of IDs'
required: false
ignore_sha:
description: 'Optional - Allow canceling other workflows with the same SHA. Useful for the `pull_request.closed` event.'
required: false
default: 'false'
access_token:
description: 'Your GitHub Access Token, defaults to: {{ github.token }}'
default: ${{ github.token }}
required: false
all_but_latest:
description: "Optional - Cancel all actions but the most recent one."
required: false
default: 'false'
only_status:
description: "Optional - Cancel runs with a specific status, such as `waiting`."
required: false
runs:
using: 'node20'
main: 'dist/index.js'