Skip to content

Commit

Permalink
ci: update cherrypick condition (#12894)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenytang-ms committed Dec 11, 2024
1 parent b8dd60f commit f0bbe0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
extra_args: --only-verified

create-cherry-pick-issue:
if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'cherry-pick-hotfix') }}
if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.base.ref, 'release') && !contains(github.event.pull_request.labels.*.name, 'cherry-pick-hotfix') }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit f0bbe0a

Please sign in to comment.