runs-on/DynamoDB Concurrency Lock
Serialize GitHub workflow runs with an owner-checked DynamoDB mutex
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| operation | Acquire or release the lock | yes | — |
| table | DynamoDB table containing a string partition key named lock_key | yes | — |
| lock-key | Global mutex key shared by all contenders | yes | — |
| github-token | Token that can read workflow attempts for every contender repository | no | — |
| region | AWS region containing the DynamoDB table | no | us-east-1 |
| stale-grace-seconds | Quarantine after a holder becomes terminal before takeover | no | 300 |
| poll-min-seconds | Minimum retry delay while an active holder owns the lock | no | 10 |
| poll-max-seconds | Maximum retry delay while an active holder owns the lock | no | 20 |
Outputs
| name | description |
|---|---|
| acquired | Whether acquisition completed |
| released | Whether this invocation deleted the lock |
| recovered | Whether acquisition replaced a terminal owner |
| owner-token | Repository, workflow run, and attempt identity |
| wait-seconds | Total time spent waiting during acquisition |