Skip to content

Commit ed392bf

Browse files
[CI] Let sycl-devops-pr/** branches trigger pre/post-commit (#10002)
In #9950 I envisioned a setup when there will be a dedicated devops pre-commit task that would create fake branch/PR in the repository to verify changes affecting CI. I later realized that we can just push the source branch for such a PR directly to origin and use that for testing. As such, rename which branch is allowed to trigger post-commit and allow the same for pre-commit. Future changes are expected to be done like this: - create branch `sycl-devops-pr/<name>` in *intel*/llvm repo, it will run post-commit testing. - create PR out of that branch - create an extra draft PR with a target branch set to the same `sycl-devops-pr/<name>`, that will run pre-commit testing.
1 parent ba1fc2e commit ed392bf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/sycl_post_commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- sycl
7-
- test-devops-pr/**
7+
- sycl-devops-pr/**
88

99
jobs:
1010
# This job generates matrix of tests for SYCL End-to-End tests

.github/workflows/sycl_precommit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request_target:
55
branches:
66
- sycl
7+
- sycl-devops-pr/**
78
# Do not run builds if changes are only in the following locations
89
paths-ignore:
910
- '.github/ISSUE_TEMPLATE/**'

0 commit comments

Comments
 (0)