This commit is contained in:
Michel Roegl-Brunner 2025-03-10 15:51:18 +01:00
parent 2357f624d9
commit b7ac4d19b2

View File

@ -13,13 +13,6 @@ jobs:
GH_TOKEN: ${{ github.token }}
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:
@ -60,6 +53,13 @@ jobs:
git config --global user.email "github-actions@github.com"
git config --global user.name "GitHub Actions"
- 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: Create PR if files found
if: ${{ env.files_found }} == "true"
env: