From b7ac4d19b2b6c1f7375d716bc50b0deb0bef3d88 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 10 Mar 2025 15:51:18 +0100 Subject: [PATCH] WF --- .github/workflows/move-to-main-repo.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index a76f1cf..03b20af 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -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: