Update move-to-main-repo.yaml

This commit is contained in:
Michel Roegl-Brunner 2025-03-10 21:10:19 +01:00 committed by GitHub
parent 59b2dacedd
commit 481897ef27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,13 @@ jobs:
actions: 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:
@ -66,7 +73,7 @@ jobs:
- name: Create PR if files found
if: env.files_found == 'true'
env:
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
script_name="wf-test"