Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pre-commit hook to verify Github Actions configuration #27

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

diazona
Copy link
Owner

@diazona diazona commented Jul 17, 2023

I'm using the actionlint-docker pre-commit hook to verify the workflow files. We could use the plain old actionlint hook instead (non-Docker) but I had some trouble compiling it on my machine so I figured this would be easier. If anyone complains about the dependency on Docker then we can adjust it accordingly.

This is going to help catch problems that may occur as we update the CI configuration in upcoming commits.


I made this change as part of #23 but it's logically independent and I'm still having problems getting #23 to pass tests, so I figured this should be merged separately.

I'm using the actionlint-docker pre-commit hook to verify the workflow
files. We could use the plain old actionlint hook instead (non-Docker)
but I had some trouble compiling it on my machine so I figured this
would be easier. If anyone complains about the dependency on Docker then
we can adjust it accordingly.

This is going to help catch problems that may occur as we update the CI
configuration in upcoming commits.
@diazona diazona added this to the Initial release milestone Jul 17, 2023
@diazona diazona requested a review from sjlongland July 17, 2023 06:17
@sjlongland sjlongland merged commit f549fdb into main Jul 17, 2023
@sjlongland sjlongland deleted the lint-workflows/1/dev branch July 17, 2023 21:14
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