Skip to content

Commit 7bdc529

Browse files
committed
github actions: skip JIRA checks if secrets are unavailable
There are many workflows that are useful without the JIRA checks from Forks. We're still evaluating how to best deal with this without a lot of engineer overhead to check extrenal contributors.
1 parent f55b713 commit 7bdc529

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/validate-kernel-commits.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ jobs:
171171
JIRA_API_USER: ${{ secrets.JIRA_API_USER }}
172172
JIRA_URL: ${{ secrets.JIRA_URL }}
173173
working-directory: kernel-src-tree-tools
174+
if: ${{ JIRA_API_TOKEN != '' && JIRA_API_USER != '' && JIRA_URL != '' }} # Only run if JIRA creds are set
174175
run: |
175176
# Run script and capture output, ensuring credentials are never echoed
176177
set +x # Disable command echo to prevent credential exposure

0 commit comments

Comments
 (0)