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

chore(ci): check GitHub Action workflow files via actionlint #1175

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

orhun
Copy link
Sponsor Member

@orhun orhun commented Jun 10, 2024

@@ -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
Copy link
Member

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.

Copy link
Sponsor Member Author

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.

Copy link
Member

@joshka joshka Jun 14, 2024

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.

Copy link
Sponsor Member Author

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

@joshka joshka self-requested a review June 14, 2024 00:13
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.

None yet

3 participants