-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
workflows: add actionlint workflow #128075
Conversation
🤔 but the file is here in my PR? Hm. |
08b38e1
to
d752426
Compare
Ok, getting annotations to show up properly requires a hack that we already use in our |
.github/workflows/actionlint.yml
Outdated
paths: | ||
- '.github/workflows/*.yml' | ||
- '.github/workflows/*.yaml' | ||
pull_request: | ||
paths: | ||
- '.github/workflows/*.yml' | ||
- '.github/workflows/*.yaml' |
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 this might mean if you open a PR on a non-fork branch this will run twice? No big deal but perhaps worth a post-merge test.
.github/actionlint-matcher.json
Outdated
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’d like to keep this JSON file only in one place. I think that should be doable once Homebrew/brew#15210 is merged.
6773977
to
eca911d
Compare
This will help automate avoiding actionlint errors in our workflow files.
This will help automate avoiding actionlint errors in our workflow files.