Skip to content

Commit 9f89530

Browse files
authored
[CI] Add new workflow to launch sycl-rel-nightly (#18931)
Github actions launches scheduled workflows of the main branch only. This small workflow is intended to bypass this limitation.
1 parent 7ed78bf commit 9f89530

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Gihub Actions launch scheduled workflows of the main branch only (sycl).
2+
# This is a workaround to set a scheduled launch of the sycl-rel-nightly.yml
3+
# workflow, which is located on the sycl-rel-* branch.
4+
5+
name: Scheduled sycl-rel-nightly launch
6+
7+
on:
8+
schedule:
9+
# The sycl-rel-nightly.yml workflow file on the sycl-rel-6_2 branch is most
10+
# likely stale. Do not schedule before it's updated.
11+
# - cron: '0 3 * * *'
12+
workflow_dispatch:
13+
14+
jobs:
15+
launch:
16+
if: github.repository == 'intel/llvm'
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Launch
20+
env:
21+
GH_TOKEN: ${{ github.token }}
22+
run: |
23+
gh workflow run sycl-rel-nightly.yml --repo ${{ github.repository }} --ref sycl-rel-6_2

0 commit comments

Comments
 (0)