actions-marketplace-validations/label-mutex
A GitHub Action that facilitates obtaining, releasing, and representing a lock on a shared resource using PR labels.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Github token to use to perform operations | yes | — |
| table | The name of the table that stores the lock. Required on AWS. Ignored on GCS. | no | label-mutex |
| bucket | The name of the bucket that stores the lock. Turns on GCS support implicitly. | no | — |
| partition | A name for a logical grouping of locks. Only used on AWS. | no | label |
| lock | The name of the lock. | yes | — |
| label | The name of the label used to facilitate control and represent ownership of the lock. | yes | — |
Outputs
| name | description |
|---|---|
| locked | 'true' if the lock has been claimed. 'false' otherwise. |
| unlocked | 'true' if the lock was confirmed to be free. 'false' otherwise. |
| html_url | URL of the PR holding the lock |