Skip to content

Enable ActionLint (static checker for GitHub Actions workflow files)#8906

Merged
mikeharder merged 20 commits into
Azure:mainfrom
mikeharder:actionlint
Jul 2, 2026
Merged

Enable ActionLint (static checker for GitHub Actions workflow files)#8906
mikeharder merged 20 commits into
Azure:mainfrom
mikeharder:actionlint

Conversation

@mikeharder

@mikeharder mikeharder commented Jul 1, 2026

Copy link
Copy Markdown
Member

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.yml workflow that runs rhysd/actionlint with 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.

Comment thread .github/workflows/actionlint.yml
Comment thread .github/workflows/validate-go-version.yml
Comment thread .github/workflows/validate-go-version.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Comment thread .github/workflows/validate-go-version.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/validate-go-version.yml Outdated
Comment thread .github/workflows/lint-bicep.yml
@mikeharder
mikeharder marked this pull request as draft July 1, 2026 16:13

@tg-msft tg-msft left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for getting this started for us!

Comment thread .github/workflows/validate-go-version.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/lint-bicep.yml Outdated
Comment thread .github/workflows/test-ext-azure-ai-agents.yml
@mikeharder
mikeharder requested a review from Copilot July 2, 2026 20:14
@mikeharder
mikeharder marked this pull request as ready for review July 2, 2026 20:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

@mikeharder
mikeharder enabled auto-merge (squash) July 2, 2026 20:19
@mikeharder

Copy link
Copy Markdown
Member Author

/check-enforcer evaluate

@mikeharder
mikeharder merged commit 38c718f into Azure:main Jul 2, 2026
10 checks passed
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.

Enable ActionLint (static checker for GitHub Actions workflow files)

7 participants