Skip to content

Commit

Permalink
Generate SBOMs for tagged commits
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
crawford committed May 13, 2024
1 parent 143aaca commit b0a7af1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sbom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- 'main'
tags:
- '**'

jobs:
generate-sbom:
Expand Down

0 comments on commit b0a7af1

Please sign in to comment.