https://github.com/devkeydet/action-environment-queue
https://github.com/devkeydet/action-environment-queue
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devkeydet/action-environment-queue
- Owner: devkeydet
- License: mit
- Created: 2021-11-24T18:55:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T14:00:04.000Z (almost 3 years ago)
- Last Synced: 2024-04-28T05:47:36.275Z (almost 2 years ago)
- Language: TypeScript
- Size: 315 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Environment Queue Action
If another workflow is already running and deploying to the same GitHub Environment,
wait for other workflows queued up to finish before continuing.
## Inputs
- `environment` - The GitHub Environment name to base the queue on
- `github-token` -The GitHub token to use, defaults to `${{ github.token }}`
- `timeout` - Timeout before we stop trying (in milliseconds), defaults to `600000`
- `delay` - Delay between status checks (in milliseconds), defaults to `10000`
## Example
```yml
- uses: devkeydet/action-environment-queue@v1
with:
environment: foo
```
## Acknowledgements
- Inspired by the [Workflow Queue](https://github.com/marketplace/actions/workflow-queue) action.