-
Notifications
You must be signed in to change notification settings - Fork 335
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
Requesting approval for the GitHub Action tj-actions/changed-files #1155
Comments
@dbast thank you for asking about this. We will discuss during the developer meeting next Tuesday. |
Why is that action useful/needed?: With Github Workflows it is possible to compose huge DAGs. The changed-files action allows then to figure out what files changed as part of an PR and disable that part of the DAG that doesn't need to run and can be skipped. Example: DAG = build llvmdev (wheel/conda pkg) -> build llvmlite (conda/wheel pkg, different Python versions) -> test llvmlite (... all variants) ... depending on what files changed, parts of that DAG can be skipped:
The changed-files action is kind of a standard building block for bigger Github Workflows. |
so some quality checks (to be checked for any OSS dependency, not specific to actions) for https://github.com/tj-actions/changed-files:
Anyways, a Github Action is not more dangerous than |
I'm +1 on allowing this action and I have no concerns - the considerations appear to have been addressed thoroughly and thoughtfully. |
The Numba Devs have approved the use of requested github action here in today's meeting. We agreed to setup the checklist in the wiki for future reference to how we review GHA. In addition, we need to have a discussion with @dbast, @esc and @swap357 in one of our Numba meeting so that the rest of us can understand more on the GHA security and supply chain concerns that we have. @esc, here're some TODOs:
Thanks you! |
Feature request
I formally request approval for the GitHub Action tj-actions/changed-files (used by 21,000+ repositories) to be allowlisted in our repository's workflows. I'm collaborating with @esc and @swap357 to migrate build and test automation from the internal build farm to GitHub Actions. Leveraging established, well-tested community Actions is a crucial pattern in GitHub workflows that significantly improves development efficiency.
Context: Currently, only GitHub-provided Actions (e.g., actions/checkout, actions/cache) are permitted, as third-party Actions are considered potential security risks due to their mutable nature.
Security measures: We'll follow best practices by pinning the Action to its specific SHA1 hash instead of using tags, ensuring immutability. Renovate can automate this process. This approach, widely adopted by security-conscious projects, prevents unauthorized Action modifications and ensures reproducibility. While this could justify allowing all Actions, I'm specifically requesting approval for tj-actions/changed-files.
The text was updated successfully, but these errors were encountered: