Use login instead of name in verify workflow
This commit is contained in:
parent
269e5410da
commit
d9faf4c980
1 changed files with 2 additions and 2 deletions
4
.github/workflows/verify.yml
vendored
4
.github/workflows/verify.yml
vendored
|
|
@ -14,6 +14,6 @@ jobs:
|
|||
run: |
|
||||
! git diff --exit-code master HEAD CHANGELOG.md
|
||||
- name: Check `CHANGELOG.md` has PR author
|
||||
if: ${{ github.event.pull_request.user.name != 'hecrj' }}
|
||||
if: ${{ github.event.pull_request.user.login != 'hecrj' }}
|
||||
run: |
|
||||
sed -n '/## \[Unreleased\]/,/^## /p' CHANGELOG.md | sed -n '/Many thanks to.../,//p' | grep '@${{ github.event.pull_request.user.name }}'
|
||||
sed -n '/## \[Unreleased\]/,/^## /p' CHANGELOG.md | sed -n '/Many thanks to.../,//p' | grep '@${{ github.event.pull_request.user.login }}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue