Bump staking and nomination pools (#318) #14
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/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 }} |