github-action-locks
github-action-locks copied to clipboard
Guarantee atomic execution of your GitHub Action workflows
The situation. 1. Three jobs with lock are run. The locks has the same name. 2. The first job receive a lock. Second and third wait for the lock. 3....
Hi, When we have manually triggered workflows which last very long. There is a need to have a lock, but is not useful to wait for it endlessly. For example...
Lock is not released when lock name is passed through internal action and it is concated with input.
Example ```yaml name: Feature Pull Requests and merged PR. concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true on: pull_request: branches: [master] workflow_dispatch: jobs: Test-run-lock: runs-on: [ label ] steps:...
In your example, with a timeout=1 (minute) and sleep=120 (seconds) and doing 3 runs of the same job, below is what happens - run1 sets the lock - run1 goes...
Hey great action, and I'd love to use it in our org. The only issue is that our deploy workflow has over ten separate jobs. AFAICT, at the moment this...