We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c3603c commit 021c957Copy full SHA for 021c957
1 file changed
.github/workflows/removed-slices.yaml
@@ -41,7 +41,8 @@ jobs:
41
- name: "Check for removed slices"
42
run: |
43
ln -s "${{ env.files_main }}/.github/scripts/removed-slices/removed-slices" .
44
- # For pull request events, use github.base_ref as the old git ref.
+ # For pull request events, use github.event.pull_request.base.sha as
45
+ # the old git ref.
46
# For push events, the github.event.before value contains the SHA of
47
# the most recent commit on ref before the push.
- ./removed-slices "${{ github.base_ref || github.event.before }}"
48
+ ./removed-slices "${{ github.event.pull_request.base.sha || github.event.before }}"
0 commit comments