Repository navigation
ci: Pin actions to SHAs and fix synced branch naming - #442
Merged
Merged
Conversation
Part of the CODE RED drill: limit what an attacker with GitHub write access, or a compromised third-party action, can do through CI. - Pin every third-party action to a full commit SHA (tag kept as a comment). - Dependabot: cover GitHub Actions and wait 14 days before proposing a new release (cooldown), per the supply-chain policy. - test-cloud-compilation: push the synced cloud-compilation branch as flink-sql-runner/pr-<number> instead of the PR's head ref, which a fork author controls (it could be main or develop). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FhU3XUfawkcbjaZAvJhTr2 Signed-off-by: Claude <noreply@anthropic.com>
Signed-off-by: Ferenc Csaky <ferenc@datasqrl.com>
ferenc-csaky
approved these changes
Nov 3, 2026
ferenc-csaky
enabled auto-merge (squash)
November 3, 2026 18:05
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.
Requested by Marvin · project thread
What does this change?
CODE RED drill: shrink what an attacker with GitHub write access, or a compromised third-party action, can do through CI.
cooldown). This matches the CODE RED rule of not adopting releases under two weeks old.test-cloud-compilationpushed the synced branch into cloud-compilation (usingBOT_PAT) under the PR's own head ref, which a fork author chooses and which could bemainordevelop. It now always usesflink-sql-runner/pr-<number>. PRs that were synced before this change keep their old cloud-compilation branch, which is not cleaned up automatically.Area
How did you test it?
Only workflow, action and Dependabot config changed. Every file was parsed as YAML, and every pinned SHA was resolved from the tag with
git ls-remoteon 2026-11-03. CI on this PR exercises the pinned actions.Checklist
feat:,fix:ordocs:Generated by Claude Code