diff --git a/.github/workflows/up-to-date.yml b/.github/workflows/up-to-date.yml index fa0a65f460..ccf3277aca 100644 --- a/.github/workflows/up-to-date.yml +++ b/.github/workflows/up-to-date.yml @@ -4,6 +4,9 @@ on: push: branches: - main + workflow_run: + workflows: [Auto Merge Bot] + types: [completed] jobs: updatePullRequests: @@ -13,11 +16,11 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@v1 + uses: actions/create-github-app-token@v1.9.3 with: - app_id: ${{ secrets.MERGE_APP_ID }} - private_key: ${{ secrets.MERGE_APP_KEY }} + app-id: ${{ secrets.MERGE_APP_ID }} + private-key: ${{ secrets.MERGE_APP_KEY }} - name: Update all the PRs - uses: paritytech/up-to-date-action@v0.2.0 + uses: paritytech/up-to-date-action@v0.2.1 with: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}