Add Actions policies support
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github, javascript, yaml
Línea de trabajo
Read the repository's existing settings and plugin handling entry points to find how repository configuration is translated into GitHub API calls. Compare that flow with the Actions policies REST API linked in the issue and determine how the proposed actions_policies configuration maps to its fields. Done means repository Actions policies can be managed from configuration; add or update tests for the configuration and API behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Prerequisites:
- Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
Yes, check https://docs.github.com/en/actions/concepts/about-actions-policies
- Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
Yes, see https://docs.github.com/en/rest/actions/policies?apiVersion=2026-03-10
New Feature
Please describe the desired new functionality:
I expect the ability to manage (repository) actions policies, e.g. by a new plugin. Here's how the configuration may look like, based on API fields:
.github/repos/.yml (or settings.yml / suborgs/*.yml)
actions_policies:
- name: restrict-deploy-workflows
enforcement: active
conditions:
workflow_path:
include:
- .github/workflows/deploy*.yml
exclude:
- .github/workflows/deploy-docs.yml
rules:
- type: restrict_actions_actors
parameters:
allowed_actors:
- id: 12345
type: Team
- type: restrict_action_events
parameters:
allowed_events:
- push
- workflow_dispatch
- name: audit-everything
enforcement: evaluate
rules:
- type: restrict_action_events
parameters:
allowed_events: [push, pull_request, schedule]
- Lenguaje dominante
- JavaScript
- Estrellas
- 942
- Forks
- 238
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github-community-projects/safe-settings
-
Teams: teams with organization-role access show up as deletionsPosiblemente ocupada @TovaBecker la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
github-community-projects/safe-settings#1144 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github-community-projects/safe-settings#1143 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github-community-projects/safe-settings#1135 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
github-community-projects/safe-settings#1134 ·
Los mantenedores suelen responder en 2 días
-
environments: additive_plugins is ignored, undeclared environments are deletedPosiblemente ocupada @yaunj la tomó hace 12 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github-community-projects/safe-settings#1133 ·
Los mantenedores suelen responder en 2 días
Todos los issues de github-community-projects/safe-settings
Issues similares
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Ionaru/easy-markdown-editor#657 ·
-
[source] Camera Blocking StageAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
TMHSDigital/Free-Game-Dev-Assets#320 ·
Los mantenedores suelen responder en 1 día
-
area:webapp bug finding
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Long working directory path draws over the Console pane's buttons when the Console has no other tabsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 87/100
ossf/wg-best-practices-os-developers#1209 ·
Los mantenedores suelen responder en 1 día