-
-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (36 loc) · 1.72 KB
/
action.yml
File metadata and controls
36 lines (36 loc) · 1.72 KB
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
# 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: 'node24'
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)"
job-to-wait-for:
description: "Name of the workflow run's job to wait for (unbound by default)"
step-to-wait-for:
description: "Name of the job's step to wait for (unbound by default). Requires job-to-wait-for to be set"
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)"
queue-name:
description: 'Custom name for grouping runs by the value if not specified will take the workflow name (unbound by default)'
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'