This commit is contained in:
Michel Roegl-Brunner 2025-03-11 10:36:45 +01:00
parent 0d7d3b5a07
commit 8e43a0f783

View File

@ -16,8 +16,8 @@ jobs:
id: generate-token id: generate-token
uses: actions/create-github-app-token@v1 uses: actions/create-github-app-token@v1
with: with:
app-id: ${{ vars.APP_ID }} app-id: ${{ vars.PUSH_TO_MAIN_APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }} private-key: ${{ secrets.PUSH_TO_MAIN_APP_SECRET }}
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -73,7 +73,7 @@ jobs:
- name: Create PR if files found - name: Create PR if files found
if: env.files_found == 'true' if: env.files_found == 'true'
env: env:
GH_TOKEN: ${{ secrets.MAIN_REPO_WF }} GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: | run: |
script_name="wf-test" script_name="wf-test"
target_repo="community-scripts/ProxmoxVE" target_repo="community-scripts/ProxmoxVE"