mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-14 19:59:17 +00:00
Update changelog-pr.yml
This commit is contained in:
parent
6bd1beafb4
commit
ea46a0a96c
10
.github/workflows/changelog-pr.yml
vendored
10
.github/workflows/changelog-pr.yml
vendored
@ -146,3 +146,13 @@ jobs:
|
|||||||
if [ -n "$PR_NUMBER" ]; then
|
if [ -n "$PR_NUMBER" ]; then
|
||||||
gh pr review $PR_NUMBER --approve
|
gh pr review $PR_NUMBER --approve
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Re-approve pull request after update
|
||||||
|
if: env.changed == 'true'
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number')
|
||||||
|
if [ -n "$PR_NUMBER" ]; then
|
||||||
|
gh pr review $PR_NUMBER --approve
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user