ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
200 stars 117 forks source link

CODEOWNERS for workflow. #579

Closed MaxJPRey closed 1 year ago

MaxJPRey commented 2 years ago

How to protect your GitHub workflow files and prevent anyone to modify them in any incorrect way?

Here is the solution: Using CODEOWNERS to monitor changes You can use the CODEOWNERS feature to control how changes are made to your workflow files. For example, if all your workflow files are stored in .github/workflows, you can add this directory to the code owners list, so that any proposed changes to these files will first require approval from a designated reviewer.

See: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions

akaszynski commented 2 years ago

Checking in with the status of this. I think it's a great idea.