This commit is contained in:
Michel Roegl-Brunner 2025-03-10 15:42:35 +01:00
parent b414b24cad
commit 8a23256c74

View File

@ -8,9 +8,16 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
env:
GH_TOKEN: ${{ github.token }}
pull-requests: write
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@v4
with:
@ -53,6 +60,8 @@ jobs:
- name: Create PR if files found
if: env.files_found == 'true'
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
target_repo="community-scripts/ProxmoxVE"