Skip to content

Commit 15bc47f

Browse files
committed
gh: Create sbom on scheduled builds
1 parent a6e746b commit 15bc47f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,9 @@ jobs:
622622
sbom:
623623
name: Create SBOM
624624
runs-on: ubuntu-latest
625-
if: startsWith(github.ref, 'refs/tags/OTP-')
625+
if: |
626+
startsWith(github.ref, 'refs/tags/OTP-') || github.event_name == 'schedule' ||
627+
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'full-build-and-check'))
626628
steps:
627629
- name: Use HTTPS instead of SSH for Git cloning
628630
run: git config --global url.https://github.com/.insteadOf ssh://[email protected]/

0 commit comments

Comments
 (0)