Skip to content

Commit

Permalink
CTS issue workflow: Skip if PR has cherry-pick label
Browse files Browse the repository at this point in the history
Changes that are being cherry-picked into an older version of the spec
don't need a separate CTS issue, as the CTS targets all versions from
SYCL 2020 onward.
  • Loading branch information
psalz committed Dec 12, 2024
1 parent 16ae6aa commit a0527de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/open_cts_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
jobs:
create-issue:
runs-on: ubuntu-latest
# Skip if this is a purely editorial PR
if: ${{ !contains(github.event.pull_request.labels.*.name, 'editorial') }}
# Skip if this is a purely editorial PR, or if the change is being cherry-picked into an older version of the spec
if: ${{ !contains(github.event.pull_request.labels.*.name, 'editorial') && !contains(github.event.pull_request.labels.*.name, 'cherry-pick') }}
steps:
- uses: actions/create-github-app-token@v1
id: app-token
Expand Down

0 comments on commit a0527de

Please sign in to comment.