fix(workflows): sync workflow audit fixes from tazama-lf/workflows#78
Merged
Justus-at-Tazama merged 1 commit intodevfrom Apr 8, 2026
Merged
fix(workflows): sync workflow audit fixes from tazama-lf/workflows#78Justus-at-Tazama merged 1 commit intodevfrom
Justus-at-Tazama merged 1 commit intodevfrom
Conversation
Applies all changes from tazama-lf/workflows PR #76 (workflow audit fixes - batch 1) to frmscoe/workflows. Changes are synced verbatim from the canonical source. - fix(njsscan): fix SARIF upload guard, category, upgrade upload-sarif v4 (#68) - fix(gpg-verify): make curl error handler reachable under bash -e (#69) - fix(dco-check, gpg-verify): replace mutable branch refs with immutable SHAs (#70) - fix(package-rule): add ref guard to prevent push from non-canonical branches (#71) - fix(gpg-verify): rename workflow to Signature Verify, update header comment (#72) - fix(package-rule): pass GH_TOKEN to docker build via BuildKit secret (#73) - fix(sbom): pass GH_TOKEN to docker build via BuildKit secret (#74) - fix(dockerfile-linter): skip hadolint and upload when no Dockerfile present (#75) - fix(dockerfile-linter, sbom): address CodeRabbit review findings Signed-off-by: Justus-at-Tazama <jortlepp@contractor.linuxfoundation.org>
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.
SPDX-License-Identifier: Apache-2.0
What did we change?
Syncs all workflow audit fixes from
tazama-lf/workflowsPR #76 tofrmscoe/workflows.Changes applied
steps.njsscan.outcome == 'success'instead ofhashFiles()which always evaluates false at job-setup time), addcategory: njsscan, upgradeupload-sarifv3 -> v4category: codacyto disambiguate SARIF uploads, upgradeupload-sarifv3 -> v4bash -e(replace command-substitution pattern with|| { }block); add-sSto print errors to stderr; quote URL; propagate original exit codehead.ref/base.ref) with immutable SHAs (head.sha/base.sha) to fix fork PRs and eliminate racy branch-name lookupsworkflow_dispatchfrom pushing images from non-canonical branchesGH_TOKENtodocker buildvia BuildKit secret sonpm cican authenticate against GitHub PackagesGH_TOKENtodocker buildvia BuildKit secret; move Docker build context (.) to end of command for canonical formdockerfile-linter.yml(Hadolint workflow) with hashFiles guard andsteps.hadolint.outcome == 'success'upload guardHow was it tested?
tazama-lf/workflowsdev @31b3f0d)