Skip to content

Commit

Permalink
Lint GHA workflows in pre-commit. (#3870)
Browse files Browse the repository at this point in the history
Co-authored-by: Zane Selvans <[email protected]>
  • Loading branch information
jdangerx and zaneselvans authored Oct 4, 2024
1 parent 77c9206 commit d02333c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- ubuntu-latest-4core
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ repos:
- id: doc8
args: [--config, pyproject.toml]

# Check Github Actions
- repo: https://github.com/rhysd/actionlint
rev: v1.7.2
hooks:
- id: actionlint

#####################################################################################
# Our own pre-commit hooks, which don't come from the pre-commit project
#####################################################################################
Expand Down

0 comments on commit d02333c

Please sign in to comment.