Thread View: linux.kernel.git
1 messages
1 total messages
Started by Junio C Hamano
Mon, 26 Oct 2026 18:20
Re: [PATCH v2] ci: pin actions in the main workflow to full commit IDs
Author: Junio C Hamano
Date: Mon, 26 Oct 2026 18:20
Date: Mon, 26 Oct 2026 18:20
29 lines
13860 bytes
13860 bytes
Taylor Blau <ttaylorr@openai.com> writes: > Our main CI workflow refers to actions by version tags. These tags can > move, changing the action code we run without any change to our > repository. If an attacker gains access to an action's repository, > they can move an existing tag to a malicious revision and have our > workflow pick it up automatically. > > Pin these actions to full commit IDs so that moving a tag cannot > substitute a different action revision. Updating the actions will > require an explicit change to our workflow, including when picking up > bug fixes and security fixes within a major version. > > Retain the version names in comments to keep the references readable > and make future updates easier to review. > > Signed-off-by: Taylor Blau <ttaylorr@openai.com> > --- > .github/workflows/main.yml | 64 +++++++++++++++++++------------------- > 1 file changed, 32 insertions(+), 32 deletions(-) With these changes, the proposal no longer appears to bend the public version to suit a single employee's environment. We might even want to strengthen the reasoning by adding "becoming the de facto security standard", borrowing from Ben Knoble's comment in the previous round. Thanks. Queued.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads