generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug when rerunning the GitHub action
Prior to this commit rerunning the GitHub action would always lead to an error. This was because the GITHUB_REF environment variable exposed by the Github Action does not contain the pull request number when rerunning a job (see [1]). Fixed by now retrieving the pull request number from the Github event JSON (instead of via the GITHUB_REF), via the GITHUB_EVENT_PATH environment variable. [1] actions/checkout#58 (comment)
- Loading branch information
Showing
2 changed files
with
27 additions
and
10 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