From fd5879d1bd9a8744388c41ce104d3c9dbce29d0f Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Thu, 15 Feb 2024 16:29:55 +0100 Subject: [PATCH] added app instead of github.token --- .github/workflows/up-to-date.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/up-to-date.yml b/.github/workflows/up-to-date.yml index 93f183a..9cd8f94 100644 --- a/.github/workflows/up-to-date.yml +++ b/.github/workflows/up-to-date.yml @@ -10,7 +10,14 @@ jobs: name: Keep PRs up to date runs-on: ubuntu-latest steps: + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@v1 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_KEY }} - name: Update all the PRs uses: paritytech/up-to-date-action@main with: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} + REQUIRE_AUTO_MERGE: false