Automatically configure the GitHub server URL
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
Empieza localizando los metadatos de GitHub Action y el código que lee la configuración actual de la URL de GitHub. Comprueba cómo se comporta la action en GitHub.com, GitHub Enterprise Server y al usarla en un contenedor independiente; después, verifica que la URL se infiere para las ejecuciones de Actions, mientras que la configuración explícita sigue siendo compatible.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
GitHub Actions provides information about the URLs associated with the GitHub instance running the action, whether that is GitHub.com or GitHub Enterprise Server via the following properties of the github context:
api_urlgraphql_urlserver_url
Accordingly, when run as a GitHub Action (not as a standalone container), the action could self-configure itself for the current environment, only requiring the URL to be specified if it does not match the execution environment. This would make the action "just work™️" in GitHub Enterprise Server without having to explicitly configure the action.
For example:
---
name: 'Evergreen action'
author: 'github'
description: 'A GitHub Action to request dependabot enablement on eligible repositories in an organization.'
runs:
using: 'docker'
image: 'docker://ghcr.io/github/evergreen:v1'
+ env:
+ GH_ENTERPRISE_URL: ${{ github.server_url }}
branding:
icon: 'file-plus'
color: 'green'
In this scenario, renaming the variable to GH_URL would probably make the most sense, but it could be still be optional when using the container directly as it is today.
- Lenguaje dominante
- Python
- Estrellas
- 226
- Forks
- 25
- Merge medio
- 3 h 46 min
- PR fusionados (30 d)
- 8
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una 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/evergreen
-
bug keep
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
github-community-projects/evergreen#221 · 2 comentarios ·
-
Instead of exhaustively enumerating repos in EXEMPT_REPOS, support an EXEMPT_LABELS config optionAbiertoenhancement keep ready-for-work
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
github-community-projects/evergreen#35 · 2 comentarios · 3 reacciones ·
-
bug keep ready-for-work
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
github-community-projects/evergreen#29 · 5 comentarios · 1 reacción ·
-
enhancement keep ready-for-work
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
github-community-projects/evergreen#10 · 1 comentario · 2 reacciones ·
Todos los issues de github-community-projects/evergreen
Issues similares
-
Claiming namespace `apoint`Abiertonamespace operations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
EclipseFdn/open-vsx.org#13573 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
collective/icalendar#1854 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
rancher/rancher-ai-agent#412 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
TUDelftGeodesy/DePSI#134 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
HenriquesLab/rxiv-maker#335 ·