mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-20 14:28:07 +00:00
add reapproal (#1279)
This commit is contained in:
parent
8bf7f7a460
commit
8431931cc4
10
.github/workflows/changelog-pr.yml
vendored
10
.github/workflows/changelog-pr.yml
vendored
@ -157,3 +157,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: steps.verify-diff.outputs.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…
x
Reference in New Issue
Block a user