updated auto-merge to v1.1.2 (#284) #9
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: | |
name: Keep PRs up to date | |
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 }} |