chore: update fullsend shim workflow - #308
Conversation
|
🤖 Finished Review · ✅ Success · Started 8:56 PM UTC · Completed 9:02 PM UTC |
ReviewFindingsCritical
High
Medium
Next steps:
Previous runReviewFindingsHigh
Medium
Labels: PR modifies a protected GitHub Actions workflow with a supply-chain security regression (SHA unpinning) Next steps:
Previous run (2)ReviewFindingsHigh
Low
Next steps:
Previous run (3)Review — PR #308Verdict: Approve — no blocking findings. SummaryThis PR removes quotes from the YAML Findings
Recommendation: Keep the quoted form
Previous run (4)Review — commentPR: #308 — chore: update fullsend shim workflow SummaryThis PR removes the double-quotes around the YAML The change is cosmetic in terms of GitHub Actions behavior (both forms are accepted), but it conflicts with this repository's yamllint configuration and will break the yamllint CI gate. Findings1. Removing quotes from
|
f51a4f4 to
d8a1220
Compare
|
🤖 Finished Review · ✅ Success · Started 8:53 AM UTC · Completed 9:01 AM UTC |
d8a1220 to
f95784b
Compare
|
🤖 Finished Review · ✅ Success · Started 12:48 PM UTC · Completed 12:55 PM UTC |
f95784b to
abeef48
Compare
|
🤖 Finished Review · ✅ Success · Started 9:28 PM UTC · Completed 9:40 PM UTC Commit: |
Update the shim workflow to match the current template in the .fullsend config repo.
abeef48 to
938b833
Compare
|
🤖 Finished Review · ✅ Success · Started 7:50 PM UTC · Completed 8:03 PM UTC Commit: |
| github.event_name != 'issue_comment' | ||
| || github.event.comment.user.type != 'Bot' | ||
| uses: konflux-ci/.fullsend/.github/workflows/dispatch.yml@701e62a9c6f104ed68f8d4085d9c3b8bad3a82e4 # main | ||
| uses: konflux-ci/.fullsend/.github/workflows/dispatch.yml@main |
There was a problem hiding this comment.
[critical] permission-expansion
The reusable workflow reference is changed from a pinned commit SHA (@701e62a9c6f104ed68f8d4085d9c3b8bad3a82e4) to a mutable branch (@main). This is a supply-chain security regression. Anyone with write access to konflux-ci/.fullsend can modify dispatch.yml on main, and this workflow will immediately execute the modified code. The dispatch job inherits top-level permissions including actions: write and id-token: write, enabling OIDC token minting. The workflow triggers on pull_request_target (access to secrets) and issue_comment (triggerable by external users).
Suggested fix: Keep the SHA-pinned reference. If the upstream workflow has legitimately changed, verify the new commit, audit the diff from the old SHA, and pin to the new verified SHA instead of using @main.
| pull-requests: read | ||
|
|
||
| "on": | ||
| on: |
There was a problem hiding this comment.
[medium] yaml-key-quoting
The trigger key uses unquoted on: while all other workflow files in this repository consistently use the quoted form. This creates a style inconsistency. yamllint's truthy rule may also flag bare on as a boolean value under YAML 1.1.
Suggested fix: Change on: back to the quoted form to match the established pattern in all other workflow files.
This PR updates the fullsend shim workflow to match the current template in the
.fullsendconfig repo.The shim content has drifted from the template — this brings it back in sync.