There was an error while loading. Please reload this page.
2 parents 174368a + 08bec70 commit 51cee7aCopy full SHA for 51cee7a
1 file changed
.github/workflows/generate-sbom.yml
@@ -26,6 +26,8 @@ jobs:
26
runs-on: ubuntu-latest
27
steps:
28
- uses: actions/checkout@v4
29
+ with:
30
+ ref: main
31
32
- uses: actions/setup-node@v4
33
with:
@@ -62,9 +64,9 @@ jobs:
62
64
git checkout -b "$BRANCH"
63
65
git add docs/sbom/
66
git commit -m "chore: update SBOM inventory (${DATE})"
- git push origin "$BRANCH"
67
+ git push --force-with-lease origin "$BRANCH"
68
- gh pr create \
69
+ gh pr view "$BRANCH" > /dev/null 2>&1 || gh pr create \
70
--title "chore: update SBOM inventory (${DATE})" \
71
--body "## SBOM Update
72
0 commit comments