Skip to content

Commit

Permalink
ci: Use GitHub context object for PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
jidicula committed Mar 19, 2021
1 parent 6cc9779 commit e9c2214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: "Get PR number"
run: |
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request
echo PR_NUMBER=$(sed 's/\/merge//' <<< "${${{github.ref}}#refs/pull/}") >> $GITHUB_ENV
echo "PR_NUMBER=#${{ github.event.pull_request.number }}" >> $GITHUB_ENV
echo "${{env.PR_NUMBER}}"
- name: "Mirror release PR to dev"
uses: thomaseizinger/[email protected]
Expand Down

0 comments on commit e9c2214

Please sign in to comment.