Skip to content

Commit af3aad6

Browse files
authored
Merge pull request #41 from SolverForge/codex/fix-vulnerability-in-ci-workflows-sdmbyn
Harden GitHub workflows against action supply-chain risk
2 parents 0a85bb3 + 3bc24c0 commit af3aad6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,8 @@ jobs:
119119
release_args+=(--prerelease)
120120
fi
121121
122-
gh release create "${release_args[@]}"
122+
if gh release view "v${{ steps.version.outputs.version }}" >/dev/null 2>&1; then
123+
gh release edit "${release_args[@]}"
124+
else
125+
gh release create "${release_args[@]}"
126+
fi

0 commit comments

Comments
 (0)