Enable ActionLint (static checker for GitHub Actions workflow files)#8906
Draft
mikeharder wants to merge 19 commits into
Draft
Enable ActionLint (static checker for GitHub Actions workflow files)#8906mikeharder wants to merge 19 commits into
mikeharder wants to merge 19 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds ActionLint to CI for static validation of GitHub Actions workflows, and updates existing workflows to be more shell-safe (quoting/loop fixes) so they lint cleanly.
Changes:
- Introduces a new
.github/workflows/actionlint.ymlworkflow that runsrhysd/actionlintwith a problem matcher. - Adds ActionLint configuration and a problem matcher definition under
.github/. - Hardens several workflow shell snippets (quoting command substitutions; avoiding
for f in $(find ...)word-splitting).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/validate-go-version.yml | Reworks find iteration to be safer for filenames and avoid word-splitting. |
| .github/workflows/test-ext-azure-ai-agents.yml | Quotes version argument to avoid word-splitting/empty parsing issues. |
| .github/workflows/lint-bicep.yml | Quotes $(which bicep) path usages to avoid issues with unexpected output/whitespace. |
| .github/workflows/copilot-setup-steps.yml | Quotes GOPATH-derived install path for tool installation. |
| .github/workflows/actionlint.yml | Adds new ActionLint workflow to lint .github/** changes. |
| .github/matchers/actionlint.json | Adds problem matcher to surface ActionLint findings inline in PR checks. |
| .github/actionlint.yaml | Adds ActionLint ignore rules for generated/locked workflow files. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
mikeharder
commented
Jul 1, 2026
tg-msft
approved these changes
Jul 1, 2026
tg-msft
left a comment
Member
There was a problem hiding this comment.
Thanks for getting this started for us!
JeffreyCA
approved these changes
Jul 1, 2026
mikeharder
commented
Jul 1, 2026
| which bicep | ||
| sudo curl -o $(which bicep) -L https://github.com/Azure/bicep/releases/download/v0.44.1/bicep-linux-x64 | ||
| sudo chmod +x $(which bicep) | ||
| BICEP_PATH=$(which bicep) |
| # (trimpath, pie, cfi, cfg, osusergo) matching release builds. | ||
| # -BuildRecordMode produces both a production and a record-tagged binary. | ||
| pwsh -File ci-build.ps1 -BuildRecordMode -OutputFileName azure-ai-agents-linux-amd64 -Version $(cat version.txt | tr -d '\r\n') | ||
| pwsh -File ci-build.ps1 -BuildRecordMode -OutputFileName azure-ai-agents-linux-amd64 -Version "$(cat version.txt | tr -d '\r\n')" |
…mes with spaces" This reverts commit 8feb3ea.
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.
Uh oh!
There was an error while loading. Please reload this page.