La API de GitHub Actions te permite administrar las GitHub Actions utilizando la API de REST. La Esta API se encuentra disponible para los usuarios autenticados, las OAuth Apps y las GitHub Apps. Los tokens de acceso requieren el alcance repo
para los repositorios privados y el alcancepublic_repo
para los repositorios públicos. de las GitHub Apps requieren los permisos que se mencionan en cada terminal. Para obtener más información, consulta la sección "Documentación de GitHub Actions".
Esta versión de GitHub Enterprise se discontinuó el 2022-06-03. No se realizarán lanzamientos de patch, ni siquiera para problemas de seguridad críticos. Para obtener un mejor desempeño, más seguridad y nuevas características, actualiza a la última versión de GitHub Enterprise. Para obtener ayuda con la actualización, contacta al soporte de GitHub Enterprise.
Actions
Con la API de acciones, puedes administrar y controlar las GitHub Actions para una organización o repositorio.
- GitHub Actions Permissions
- Get GitHub Actions permissions for an enterprise
- Set GitHub Actions permissions for an enterprise
- List selected organizations enabled for GitHub Actions in an enterprise
- Set selected organizations enabled for GitHub Actions in an enterprise
- Enable a selected organization for GitHub Actions in an enterprise
- Disable a selected organization for GitHub Actions in an enterprise
- Get allowed actions for an enterprise
- Set allowed actions for an enterprise
- Get GitHub Actions permissions for an organization
- Set GitHub Actions permissions for an organization
- List selected repositories enabled for GitHub Actions in an organization
- Set selected repositories enabled for GitHub Actions in an organization
- Enable a selected repository for GitHub Actions in an organization
- Disable a selected repository for GitHub Actions in an organization
- Get allowed actions for an organization
- Set allowed actions for an organization
- Get GitHub Actions permissions for a repository
- Set GitHub Actions permissions for a repository
- Get allowed actions for a repository
- Set allowed actions for a repository
- GitHub Actions Secrets
- List organization secrets
- Get an organization public key
- Get an organization secret
- Create or update an organization secret
- Delete an organization secret
- List selected repositories for an organization secret
- Set selected repositories for an organization secret
- Add selected repository to an organization secret
- Remove selected repository from an organization secret
- List repository secrets
- Get a repository public key
- Get a repository secret
- Create or update a repository secret
- Delete a repository secret
- Grupos de ejecutores auto-hospedados
- List self-hosted runner groups for an enterprise
- Create a self-hosted runner group for an enterprise
- Get a self-hosted runner group for an enterprise
- Update a self-hosted runner group for an enterprise
- Delete a self-hosted runner group from an enterprise
- List organization access to a self-hosted runner group in an enterprise
- Set organization access for a self-hosted runner group in an enterprise
- Add organization access to a self-hosted runner group in an enterprise
- Remove organization access to a self-hosted runner group in an enterprise
- List self-hosted runners in a group for an enterprise
- Set self-hosted runners in a group for an enterprise
- Add a self-hosted runner to a group for an enterprise
- Remove a self-hosted runner from a group for an enterprise
- List self-hosted runner groups for an organization
- Create a self-hosted runner group for an organization
- Get a self-hosted runner group for an organization
- Update a self-hosted runner group for an organization
- Delete a self-hosted runner group from an organization
- List repository access to a self-hosted runner group in an organization
- Set repository access for a self-hosted runner group in an organization
- Add repository access to a self-hosted runner group in an organization
- Remove repository access to a self-hosted runner group in an organization
- List self-hosted runners in a group for an organization
- Set self-hosted runners in a group for an organization
- Add a self-hosted runner to a group for an organization
- Remove a self-hosted runner from a group for an organization
- Ejecutores autoalojados
- List self-hosted runners for an enterprise
- List runner applications for an enterprise
- Create a registration token for an enterprise
- Create a remove token for an enterprise
- Get a self-hosted runner for an enterprise
- Delete a self-hosted runner from an enterprise
- List self-hosted runners for an organization
- List runner applications for an organization
- Create a registration token for an organization
- Create a remove token for an organization
- Get a self-hosted runner for an organization
- Delete a self-hosted runner from an organization
- List self-hosted runners for a repository
- List runner applications for a repository
- Create a registration token for a repository
- Create a remove token for a repository
- Get a self-hosted runner for a repository
- Delete a self-hosted runner from a repository