-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate the previous commit to diff against
The github.event.pull_request.base.sha provides a wrong commit SHA pointing at the *current* upstream HEAD. This particular one may not be even fetched (a concurrent PR merged in the meantime). The GitHub Context provides no info about the previous commit SHA we need, so let's calculate it manually from the ${{ github.event.commits }} number
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 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