chore(ci): fix the warning due to Node 16 EOL for GitHub Actions. #7004
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
name: PR for release branch | |
on: | |
pull_request: | |
branches: | |
- main | |
types: ["closed", "labeled"] | |
jobs: | |
release_pull_request_1_9: | |
if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.9') && github.event.pull_request.merged == true" | |
runs-on: ubuntu-latest | |
name: release_pull_request | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: Create PR to branch | |
uses: risingwavelabs/github-action-cherry-pick@master | |
with: | |
pr_branch: 'release-1.9' | |
pr_labels: 'cherry-pick' | |
pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.9', github.event.number) }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
release_pull_request_1_10: | |
if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-1.10') && github.event.pull_request.merged == true" | |
runs-on: ubuntu-latest | |
name: release_pull_request | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: Create PR to branch | |
uses: risingwavelabs/github-action-cherry-pick@master | |
with: | |
pr_branch: 'release-1.10' | |
pr_labels: 'cherry-pick' | |
pr_body: ${{ format('Cherry picking \#{0} onto branch release-1.10', github.event.number) }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
release_pull_request_2_0: | |
if: "contains(github.event.pull_request.labels.*.name, 'need-cherry-pick-release-2.0') && github.event.pull_request.merged == true" | |
runs-on: ubuntu-latest | |
name: release_pull_request | |
steps: | |
- name: checkout | |
uses: actions/checkout@v1 | |
- name: Create PR to branch | |
uses: risingwavelabs/github-action-cherry-pick@master | |
with: | |
pr_branch: 'release-2.0' | |
pr_labels: 'cherry-pick' | |
pr_body: ${{ format('Cherry picking \#{0} onto branch release-2.0', github.event.number) }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
contents: write |