Skip to content

Commit 73dcf30

Browse files
DilumAluthgestaticfloat
authored andcommitted
CI (Buildbot): a simpler way of getting the SHA for the "Statuses" action (#41817)
(cherry picked from commit 0e8bb95)
1 parent 53bc83a commit 73dcf30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/statuses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- run: echo "SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
5353
if: github.event_name == 'pull_request_target'
5454

55-
- run: echo "SHA=${{ env.GITHUB_SHA }}" >> $GITHUB_ENV
55+
- run: echo "SHA=${{ github.sha }}" >> $GITHUB_ENV
5656
if: github.event_name != 'pull_request_target'
5757

5858
- run: echo "The SHA is ${{ env.SHA }}"

0 commit comments

Comments
 (0)