Use origin/master instead of master in verify workflow
This commit is contained in:
parent
d9faf4c980
commit
0be3fe4ec7
1 changed files with 1 additions and 1 deletions
2
.github/workflows/verify.yml
vendored
2
.github/workflows/verify.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue