up-to-date: fixed wrong branch name (#141) #1
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 | |
jobs: | |
updatePullRequests: | |
runs-on: ubuntu-latest | |
environment: master | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: tibdex/github-app-token@v1 | |
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 }} |