Skip to content

Add actionlint checks for GitHub Actions - #16316

Open
AlexWaygood wants to merge 5 commits into
alex/zizmorfrom
alex/more-linters
Open

Add actionlint checks for GitHub Actions#16316
AlexWaygood wants to merge 5 commits into
alex/zizmorfrom
alex/more-linters

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Aug 28, 2026

Copy link
Copy Markdown
Member

Add actionlint with ShellCheck to catch workflow syntax and shell-script errors, and update the existing workflows to pass the new checks.

The pre-commit hook hit pre-commit.ci's 180-second timeout, so actionlint runs in a dedicated GitHub Actions workflow using its official prebuilt Docker image, which includes ShellCheck.

Stacked on #16314.

@AlexWaygood AlexWaygood added the project: infrastructure typeshed build, test, documentation, or distribution related label Aug 28, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@AlexWaygood

Copy link
Copy Markdown
Member Author

Example of what a failing run looks like: https://github.com/python/typeshed/actions/runs/33195282726/job/98930729363?pr=16316

@github-actions

This comment has been minimized.

@AlexWaygood
AlexWaygood marked this pull request as ready for review August 28, 2026 17:43
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project: infrastructure typeshed build, test, documentation, or distribution related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant