Skip to content

Conversation

@sebbASF
Copy link
Contributor

@sebbASF sebbASF commented Nov 24, 2025

Clarify pinning policy

Signed-off-by: Sebb <sebbASF@users.noreply.github.com>

> [!NOTE]
> Always pin actions to exact commit SHAs, never use tags or branch references.
> (For historic reasons there are some exceptions to this rule)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is accurate: I'm not sure these are actually exceptions to the rule, or just instances where the rule does hold in theory but isn't enforced yet.

Copy link
Contributor Author

@sebbASF sebbASF Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just trying to answer queries such as #385, which may well recur.

Maybe there is a better wording?

I think it would be helpful to document why some actions don't use commit SHAs, contradicting the rule.

Are there circumstances where commit SHAs are not needed for new actions?
If so, again I think this should be documented.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good idea. I'll defer to infra on how they'd like this to be characterized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants