forked from styfle/cancel-workflow-action
/
action.yml
23 lines (23 loc) · 822 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
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'
all_but_latest:
description: "Optional - Cancel all but the most recent action, can help with very deep queues"
required: false
access_token:
description: 'Your GitHub Access Token, defaults to: {{ github.token }}'
default: '${{ github.token }}'
runs:
using: 'node12'
main: 'dist/index.js'