| name: Cherry-Pick Merges |
| |
| on: |
| pull_request_target: |
| branches: |
| - master |
| types: ["closed"] |
| |
| jobs: |
| cherry_pick_release_v1_0: |
| runs-on: ubuntu-latest |
| name: Cherry-Pick into SVE |
| if: | |
| (github.event.pull_request.merged == true) |
| && ( |
| (contains(github.event.pull_request.labels.*.name, 'sve')) |
| || (contains(github.event.pull_request.labels.*.name, 'spec')) |
| || (contains(github.event.pull_request.labels.*.name, 'request sve')) |
| || (contains(github.event.pull_request.labels.*.name, 'cert blocker')) |
| ) |
| steps: |
| - name: Checkout |
| uses: actions/checkout@v3.5.2 |
| with: |
| fetch-depth: 0 |
| - name: Cherry-Pick into sve branch |
| uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 |
| with: |
| token: ${{ secrets.MATTER_PAT }} |
| branch: sve-2 |
| labels: | |
| sve cherry pick |
| reviewers: | |
| woody-apple |
| andy31415 |
| env: |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |