-
Notifications
You must be signed in to change notification settings - Fork 262
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
chore(ci): check GitHub Action workflow files via actionlint #1175
base: main
Are you sure you want to change the base?
Conversation
@@ -46,6 +46,10 @@ jobs: | |||
uses: crate-ci/typos@master | |||
- name: Lint dependencies | |||
uses: EmbarkStudios/cargo-deny-action@v1 | |||
- name: Check workflow files | |||
uses: docker://rhysd/actionlint:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure its really useful to keep this always running. CI is changing not that often. A link to the online check tool might be more relevant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine, it's not much of a resource heavy thing anyways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps gate it on the path - not sure I like the docker approach to running something like this as this becomes a barrier to security auditing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are other ways of using this as well: https://github.com/rhysd/actionlint/blob/main/docs/usage.md
The docker approach looked safer than yolo-downloading a script and running it so I went with that
https://github.com/rhysd/actionlint