Skip to content

Keep PR up to date #132

Keep PR up to date

Keep PR up to date #132

Workflow file for this run

name: Keep PR up to date
on:
push:
branches:
- main
workflow_run:
workflows: [Auto Merge Bot]
types: [completed]
jobs:
updatePullRequests:
name: Keep PRs up to date
runs-on: ubuntu-latest
environment: master
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1.9.3
with:
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.1
with:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}