forked from vigneshmsft/turnstyle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
26 lines (26 loc) · 1.26 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
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'github workflows queue'
description: 'A GitHub Action for serializing workflow runs'
author: 'rpadaki'
env:
'GITHUB_TOKEN': 'Repository token provided by Github Actions secrets'
runs:
using: 'node12'
main: 'dist/index.js'
inputs:
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: 'purple'
icon: 'git-commit'