This repository hosts GitHub Actions developed by the ASF community and approved for any ASF top level project to use. It also manages the organization wide allow list of Github Actions via ‘Configuration as Code’.
To contribute a GitHub Action to this repository:
/MyNewAction
)The Infrastructure team will review each proposed Action based on:
Once approved, the Infrastructure team will merge the pull request and add the new Action to the list of available Actions for all ASF projects.
As stated in the ASF GitHub Actions Policy, GitHub Actions from external sources are blocked by default in all apache/*
repositories. Only actions from the following namespaces are automatically allowed:
apache/*
github/*
actions/*
All other actions must be explicitly added to the allow list after undergoing a security review. This review process applies to both new actions and new versions of previously approved actions (though reviews for new versions are typically expedited).
To request addition of an action to the allow list:
actions.yaml
using the following format:repo/owner: '<exact-commit-sha>': expires_at: 2050-01-01
Create a PR against the main
branch
Include in your PR description:
Wait for review by the infrastructure team
[!NOTE] Always pin actions to exact commit SHAs, never use tags or branch references.
The infrastructure team will review your request and either approve, request changes, or provide feedback on alternatives.
In most cases, new versions are automatically added through Dependabot:
If you need to add a specific version of an already approved action (especially an older one):
actions.yaml
with the following format:existing/action: '<exact-commit-sha>': expires_at: 2025-01-01 keep: true
main
branch[!WARNING] Older versions may contain security vulnerabilities or performance issues. Always evaluate if using the latest version is possible before requesting older versions.
[!IMPORTANT] If a version or entire action needs to be removed immediately due to a security vulnerability:
actions.yaml
main
branchThe infrastructure team will prioritize these removal requests and may take additional steps to notify affected projects if necessary.