Keep PR up to date #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
app-id: ${{ secrets.MERGE_APP_ID }} | |
private-key: ${{ secrets.MERGE_APP_KEY }} | |
- name: Update all the PRs | |
uses: paritytech/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} |