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 (JuliaLang#41815)
  • Loading branch information
DilumAluthge authored Aug 7, 2021
1 parent d62e206 commit ed866b5
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 ed866b5

Please sign in to comment.