Skip to content

Commit a6c5837

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 a6c5837

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
@@ -165,6 +165,7 @@ jobs:
165165
166166
- name: Run JIRA PR Check
167167
id: jira_check
168+
if: ${{ secrets.JIRA_API_TOKEN && secrets.JIRA_API_USER && secrets.JIRA_URL }} # Only run if JIRA credentials are available
168169
continue-on-error: true # Allow PR comments to be posted before failing workflow
169170
env:
170171
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

0 commit comments

Comments
 (0)