mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Update generate-app-headers.yaml
This commit is contained in:
parent
4b6b560bbd
commit
535a1b0250
6
.github/workflows/generate-app-headers.yaml
vendored
6
.github/workflows/generate-app-headers.yaml
vendored
@ -53,6 +53,8 @@ jobs:
|
||||
|
||||
- name: Create pull request
|
||||
id: create-pr
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
PR_EXISTS=$(gh pr list --head "update-app-headers" --json number --jq '.[].number')
|
||||
if [ -z "$PR_EXISTS" ]; then
|
||||
@ -65,6 +67,8 @@ jobs:
|
||||
|
||||
- name: Approve pull request
|
||||
if: steps.create-pr.outputs.pr_exists == 'true'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
PR_NUMBER=$(gh pr list --head "update-app-headers" --json number --jq '.[].number')
|
||||
if [ -n "$PR_NUMBER" ]; then
|
||||
@ -73,6 +77,8 @@ jobs:
|
||||
|
||||
- name: Merge pull request
|
||||
if: steps.create-pr.outputs.pr_exists == 'true'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
PR_NUMBER=$(gh pr list --head "update-app-headers" --json number --jq '.[].number')
|
||||
if [ -n "$PR_NUMBER" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user