-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
action.yml
30 lines (30 loc) · 1.35 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
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'action turnstyle'
description: 'A GitHub Action for serializing workflow runs'
author: 'softprops'
env:
'GITHUB_TOKEN': 'Repository token provided by Github Actions secrets'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
token:
description: 'GitHub access token'
required: false
default: ${{ github.token }}
poll-interval-seconds:
description: "Number of seconds to wait in between checks for previous run completion (defaults to 60)"
continue-after-seconds:
description: "Maximum number of seconds to wait before moving forward (unbound by default). Mutually exclusive with abort-after-seconds"
abort-after-seconds:
description: "Maximum number of seconds to wait before failing the step (unbound by default). Mutually exclusive with continue-after-seconds"
same-branch-only:
description: "Only wait on other runs from the same branch (defaults to true)"
initial-wait-seconds:
description: "Total elapsed seconds within which period the action will refresh the list of current runs, if no runs were found in the first poll (0 by default, ie doesn't retry)"
outputs:
force_continued:
description: "True if continue-after-seconds is used and the step using turnstyle continued. False otherwise."
branding:
color: 'green'
icon: 'git-commit'