chore(ci): add artifact security scanning to release pipelines#225
Draft
chore(ci): add artifact security scanning to release pipelines#225
Conversation
aaf00e7 to
de3cb46
Compare
- Add gh-action-scan before git push in both release workflows, so compromised artifacts block the release before any tag is published - Decouple npm publish from release-it's after:release hook into explicit workflow steps for better control flow - Uncomment push-to-main triggers for both release workflows - Use databricks/gh-action-scan composite action (SHA-pinned) Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>
de3cb46 to
9e94916
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gh-action-scanto both release workflows (release.yml,release-lakebase.yml)npm publishfrom release-it'safter:releasehook into explicit workflow stepsrelease-it --ci --no-git.push --no-github.releaseto build + tag locally, then push + create GH release + publish only after scan passesHow it works
release-itruns full lifecycle (audit → bump → build → dist → sbom → commit → tag) but stops before pushinggh-action-scanscans the builttmp/directoriesTest plan
security-scan-results-*artifacts are uploadedpnpm releasestill works (release-it config unchanged for push/release)