updated auto-merge to test #130
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: actions/create-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 }} |