Update deprecated actions/checkout v2 -> v4#3
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds repository-level linting for GitHub Actions workflows using actionlint, aligning this repo with the org-wide rollout and updating the remaining actions/checkout usage to v4 to satisfy runner/tooling checks.
Changes:
- Introduces a new workflow to run
actionlinton pushes/PRs that modify workflow or actionlint config files. - Adds
.github/actionlint.yamlto define self-hosted runner labels and suppress ShellCheck info/style findings. - Updates
actions/checkoutfrom v2 → v4 in the Windows build/test workflow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/lint-actions.yml | New CI workflow that runs actionlint on workflow/config changes. |
| .github/workflows/build-test.yml | Updates checkout action to v4. |
| .github/actionlint.yaml | Adds actionlint configuration (runner labels + ShellCheck ignore patterns). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| pull_request: | ||
| paths: ['.github/workflows/**', '.github/actionlint.yaml'] | ||
|
|
||
| jobs: |
Comment on lines
+13
to
+18
| paths: | ||
| .github/workflows/**/*.yml: | ||
| ignore: &shellcheck-info-style | ||
| - 'shellcheck reported issue in this script: SC\d+:(info|style):' | ||
| .github/workflows/**/*.yaml: | ||
| ignore: *shellcheck-info-style |
- actions/checkout v2 -> v4 Found by an org-wide actionlint sweep; the lint tooling itself is staying in the core repos only, but these fixes stand on their own. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
8aaea11 to
92f125d
Compare
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.
Found by an org-wide actionlint sweep. Per review feedback the lint tooling itself is staying in the core repos (compiler-explorer, infra, compiler-workflows) — this PR keeps just the fixes, which stand on their own:
🤖 Generated with Claude Code