Skip to content

Commit b0a7af1

Browse files
committed
Generate SBOMs for tagged commits
Releases are done from a branch which is not "main". This branch may also have a head commit that is not the release itself (i.e. a bump to the next development version) so run the workflow on the tag instead.
1 parent 143aaca commit b0a7af1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sbom.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
push:
66
branches:
77
- 'main'
8+
tags:
9+
- '**'
810

911
jobs:
1012
generate-sbom:

0 commit comments

Comments
 (0)