Skip to content

[EngSys] Lint workflows with actionlint#3076

Open
mikeharder wants to merge 2 commits into
mainfrom
mikeharder/actionlint
Open

[EngSys] Lint workflows with actionlint#3076
mikeharder wants to merge 2 commits into
mainfrom
mikeharder/actionlint

Conversation

@mikeharder

Copy link
Copy Markdown
Contributor
  • Same config as our other repos

- Same config as our other repos
Copilot AI review requested due to automatic review settings July 16, 2026 23:48
@mikeharder
mikeharder requested review from a team as code owners July 16, 2026 23:48
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

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 an actionlint GitHub Actions workflow (plus matcher/config) to lint this repo’s workflows, and makes small tweaks to an existing workflow likely to satisfy actionlint/shellcheck.

Changes:

  • Add a new .github/workflows/actionlint.yml workflow to run actionlint on .github/** changes.
  • Add an Actionlint problem matcher (.github/matchers/actionlint.json) and actionlint config (.github/actionlint.yaml) to ignore *.lock.yml workflows.
  • Update the existing event processor workflow to quote $GITHUB_ENV redirections and change the Azure login client-id.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/event-processor.yml Quotes $GITHUB_ENV writes and changes Azure OIDC client-id used by azure/login.
.github/workflows/actionlint.yml New workflow that runs actionlint (container) and registers a problem matcher.
.github/matchers/actionlint.json Adds a problem matcher to surface actionlint findings as GitHub annotations.
.github/actionlint.yaml Configures actionlint to ignore .github/workflows/*.lock.yml files.

Comment thread .github/workflows/event-processor.yml
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
with:
client-id: a6dd2dfe-7352-41a7-9020-05301c3bca1a
client-id: e4cb9fd5-0875-4ca1-bc43-56196f5dfb8f

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

change caused by updating file from it's source in the azure-sdk-tools repo

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.

2 participants