Skip to content

Commit ed866b5

Browse files
authored
CI (Buildbot): Fix a bug in the "Create Pending Statuses" GitHub Actions workflow (#41815)
1 parent d62e206 commit ed866b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/statuses.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
fail-fast: false
5151
steps:
5252
- run: echo "SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
53-
if: github.event_name == 'pull_request'
53+
if: github.event_name == 'pull_request_target'
5454

5555
- run: echo "SHA=${{ env.GITHUB_SHA }}" >> $GITHUB_ENV
56-
if: github.event_name != 'pull_request'
56+
if: github.event_name != 'pull_request_target'
5757

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

0 commit comments

Comments
 (0)