Skip to content

Commit

Permalink
Use origin/master instead of master in verify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jul 26, 2023
1 parent d9faf4c commit 0be3fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fetch-depth: 0
- name: Check `CHANGELOG.md` has changes
run: |
! git diff --exit-code master HEAD CHANGELOG.md
! git diff --exit-code origin/master HEAD -- CHANGELOG.md
- name: Check `CHANGELOG.md` has PR author
if: ${{ github.event.pull_request.user.login != 'hecrj' }}
run: |
Expand Down

0 comments on commit 0be3fe4

Please sign in to comment.