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

How would you automate/enforce this? #11

Closed
Vadorequest opened this issue Dec 17, 2020 · 1 comment
Closed

How would you automate/enforce this? #11

Vadorequest opened this issue Dec 17, 2020 · 1 comment

Comments

@Vadorequest
Copy link

Thanks for your work for helping devs applying best practices, that should be GitHub's job.

How would you recommend to best enforce this behavior? Through a pre-commit hook?
Doing it manually is too error-prone to my taste.

@mheap
Copy link
Owner

mheap commented Jan 3, 2021

You could use an action to ensure all workflows in a repo are pinned to a SHA. See https://michaelheap.com/ensure-github-actions-pinned-sha for more info

@mheap mheap closed this as completed Mar 7, 2021
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

No branches or pull requests

2 participants