Skip to content

Commit b6af150

Browse files
authored
[CI] Disable some workflows in forks (#18038)
And also disable aws-stop in sycl-rel nightly if aws-start was skipped.
1 parent 1008730 commit b6af150

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
bandit:
14+
if: github.repository == 'intel/llvm'
1415
name: Bandit
1516
runs-on: ubuntu-latest
1617
permissions:

.github/workflows/sycl-issues-ping-assignee.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ permissions: read-all
1818

1919
jobs:
2020
run:
21+
if: github.repository == 'intel/llvm'
2122
permissions:
2223
issues: write
2324
runs-on: ubuntu-latest

.github/workflows/sycl-rel-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167

168168
cuda-aws-stop:
169169
needs: [cuda-aws-start, cuda-run-tests]
170-
if: always()
170+
if: always() && ${{ needs.cuda-aws-start.result != 'skipped' }}
171171
uses: ./.github/workflows/sycl-aws.yml
172172
secrets: inherit
173173
with:

.github/workflows/sycl-stale-issues.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions: read-all
88

99
jobs:
1010
close-issues:
11+
if: github.repository == 'intel/llvm'
1112
permissions:
1213
issues: write # for actions/stale to close stale issues
1314
pull-requests: write # for actions/stale to close stale PRs

0 commit comments

Comments
 (0)