Skip to content
clock

GitHub Action

Environment Queue

v1 Latest version

Environment Queue

clock

Environment Queue

If another workflow is already running targeting the same GitHub Environment, wait for it to finish

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Environment Queue

uses: devkeydet/action-environment-queue@v1

Learn more about this action in devkeydet/action-environment-queue

Choose a version

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

- uses: devkeydet/action-environment-queue@v1
  with:
    environment: foo

Acknowledgements