-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support running multiple instances without collision (#54)
* Support running multiple instances without collision This uses a combination of three Github-set env vars that, together, are guaranteed to be unique within the scope of a repo and all its workflows: - GITHUB_WORKFLOW: the name of the workflow (or file path, if no name is given) - GITHUB_JOB: the ID of the job - GITHUB_ACTION: the ID of the step (or a formatted name of the repo where the action resides, i.e. `__mheap_github-action-required-labels`) Without this, running multiple instances of this action with comments enabled would result in them clobbering each others' comments. --------- Co-authored-by: Michael Heap <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters