Skip to content

Commit

Permalink
CI (Buildbot): Fix a bug in the "Create Pending Statuses" GitHub Acti…
Browse files Browse the repository at this point in the history
…ons workflow (#41815)

(cherry picked from commit ed866b5)
  • Loading branch information
DilumAluthge authored and KristofferC committed Aug 31, 2021
1 parent 0c73eb4 commit bd02c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/statuses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
fail-fast: false
steps:
- run: echo "SHA=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request_target'

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

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

Expand Down

0 comments on commit bd02c5e

Please sign in to comment.