Skip to content

Pin GitHub Actions to full-length commit SHAs (main) - #532

Open
Chenglong Wang (Chenglong-MS) wants to merge 1 commit into
mainfrom
chore/pin-actions-main
Open

Chenglong Wang (Chenglong-MS) wants to merge 1 commit into
mainfrom
chore/pin-actions-main

Conversation

@Chenglong-MS

Copy link
Copy Markdown
Collaborator

Resolves the 7 mutable action references 1ES flagged on main ahead of the Dec 4, 2026 enforcement.

#522 already pinned these on dev, but main hasn't been updated from dev since #411, so the default branch still has tag refs. This PR applies the same SHAs to main's current workflows. It doesn't bring over any other dev changes.

Action Pinned to
actions/checkout@v7 3d3c42e (v7.0.1)
actions/setup-node@v7 8207627 (v7.0.0)
astral-sh/setup-uv@v7 37802ad (v7.6.0)
actions/upload-artifact@v7 cf430e0 (v7.0.2)
actions/download-artifact@v8 9000827 (v8.0.2)
softprops/action-gh-release@v2 3bb1273 (v2.6.2, what v2 currently points to)
pypa/gh-action-pypi-publish@release/v1 dc37677 (v1.14.2)

It also adds #522's 7-day Dependabot cooldown for GitHub Actions. Dependabot reads its config from the default branch, so the cooldown takes effect only once it's on main.

When dev is next merged into main, the conflicts will be limited to these same lines, and dev's version should win.

Applies the pins from #522 (merged into dev) to main, the default branch,
ahead of the 1ES action-pinning enforcement on 2026-12-04. Also pins
download-artifact and softprops/action-gh-release, which only main uses,
and adds the 7-day Dependabot cooldown for GitHub Actions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

1 participant