Skip to content

Fix stale version comments on pinned action SHAs in workflow files#126468

Merged
akoeplinger merged 2 commits intomainfrom
copilot/fix-workflow-version-comments
Apr 2, 2026
Merged

Fix stale version comments on pinned action SHAs in workflow files#126468
akoeplinger merged 2 commits intomainfrom
copilot/fix-workflow-version-comments

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 2, 2026

Dependabot updates pinned SHA refs but doesn't correct the inline version comment when it was already wrong. Audited all .github/workflows/*.yml files by resolving each pinned SHA against its upstream tags.

Two mismatches found and fixed:

  • copilot-echo.lock.yml (5 occurrences): github/gh-aw-actions/setup@536ea1b... commented as # v0.63.0, actual tag is v0.65.4
  • labeler-*.yml (13 occurrences across 5 files): dotnet/issue-labeler/*@46125e8... commented as # v2.0.0, actual tag is v2.0.0-release

@akoeplinger akoeplinger marked this pull request as ready for review April 2, 2026 12:48
@akoeplinger akoeplinger requested review from a team and jeffhandley as code owners April 2, 2026 12:48
Copilot AI review requested due to automatic review settings April 2, 2026 12:48
@github-actions github-actions bot added the area-skills Agent Skills label Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates inline version comments for pinned GitHub Action SHAs in workflow files so the human-readable tag annotations match the resolved upstream tags.

Changes:

  • Correct dotnet/issue-labeler/*@46125e8... inline comments from v2.0.0 to v2.0.0-release across the labeler workflows.
  • Correct github/gh-aw-actions/setup@536ea1b... inline comments from v0.63.0 to v0.65.4 in copilot-echo.lock.yml.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/labeler-train.yml Updates dotnet/issue-labeler action version comments to v2.0.0-release.
.github/workflows/labeler-promote.yml Updates dotnet/issue-labeler action version comments to v2.0.0-release.
.github/workflows/labeler-predict-pulls.yml Updates dotnet/issue-labeler action version comments to v2.0.0-release.
.github/workflows/labeler-predict-issues.yml Updates dotnet/issue-labeler action version comments to v2.0.0-release.
.github/workflows/labeler-cache-retention.yml Updates dotnet/issue-labeler action version comments to v2.0.0-release.
.github/workflows/copilot-echo.lock.yml Updates github/gh-aw-actions/setup action version comments to v0.65.4.

@akoeplinger akoeplinger merged commit 1065d3f into main Apr 2, 2026
28 checks passed
@akoeplinger akoeplinger deleted the copilot/fix-workflow-version-comments branch April 2, 2026 13:00
radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Apr 9, 2026
…otnet#126468)

Dependabot updates pinned SHA refs but doesn't correct the inline
version comment when it was already wrong. Audited all
`.github/workflows/*.yml` files by resolving each pinned SHA against its
upstream tags.

Two mismatches found and fixed:

- **`copilot-echo.lock.yml`** (5 occurrences):
`github/gh-aw-actions/setup@536ea1b...` commented as `# v0.63.0`, actual
tag is `v0.65.4`
- **`labeler-*.yml`** (13 occurrences across 5 files):
`dotnet/issue-labeler/*@46125e8...` commented as `# v2.0.0`, actual tag
is `v2.0.0-release`

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants