Skip to content

Add actionlint workflow for GitHub Actions static analysis - #457

Closed
chernojagne wants to merge 1 commit into
joerick:mainfrom
autar-pr:setup-actionlint-b4cf2e32
Closed

Add actionlint workflow for GitHub Actions static analysis#457
chernojagne wants to merge 1 commit into
joerick:mainfrom
autar-pr:setup-actionlint-b4cf2e32

Conversation

@chernojagne

Copy link
Copy Markdown

What

Adds actionlint static analysis for GitHub Actions workflow files.

  • .github/actionlint.yaml — configuration with self-hosted runner labels and ShellCheck suppressions for common GitHub Actions false positives (SC1091, SC2086, SC2129, SC2155)
  • .github/workflows/actionlint.yml — dedicated workflow triggered on changes to .github/workflows/** files, runs actionlint on every PR and push

Why

pyinstrument has two non-trivial workflows (matrix test across Ubuntu/macOS/Windows/ARM + PyPI publish). actionlint catches YAML schema errors, invalid ${{ }} expressions, missing permissions, and ShellCheck issues in run: blocks before they cause CI failures that are slow to debug post-push.

This change was generated by Autar and reviewed by a human before submission.

@chernojagne

Copy link
Copy Markdown
Author

Closing this — we're revising how we approach these contributions and would rather withdraw it than leave it open unattended. Apologies for the noise, and thanks.

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.

1 participant