Bump React router to ^6.21.0 #22
Workflow file for this run
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
on: | |
pull_request: | |
branches: | |
- next | |
types: ['closed'] | |
jobs: | |
cherry_pick_to_master: | |
runs-on: ubuntu-latest | |
name: Cherry pick into master | |
permissions: | |
pull-requests: write | |
contents: write | |
if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Cherry pick and create the new PR | |
uses: carloscastrojumo/[email protected] | |
with: | |
branch: master | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: 'Cherry-pick of #{old_pull_request_id}' | |
labels: | | |
cherry-pick | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |