Support for GHE Actions service with GitHub.com firewall blocked

Abierto
#247 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, github-actions, go
Área
cli, security

Línea de trabajo

Start by reading the --verify runner path and how it resolves locked actions against GitHub.com; the issue does not name a file or test. Determine whether the GHE.com Actions service can provide the needed verification data, and define done as verification succeeding when the runner cannot access the GitHub.com API. This requires design work around proxying or local cloning.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

GitHub actions (like actions/checkout) are fetched from GitHub to GHE by the GHE.com Actions service. Actions lock (rightfully) locks against the original GitHub.com action:

'actions/[email protected]':
    hostname: 'github.com'
    ref: 'v7.0.1'
    commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
    owner_id: 44036562
    repo_id: 197814629

When executing a --verify on the runner however, the step fails as the specific runner has no access to the GitHub.com API, but only to our GHE tenant. This is defined in a firewall that I cannot access.

Is it possible to have actions-lock automatically proxy/fallback (or clone locally via) the GHE.com Actions service instead of querying GitHub.com directly?

Lenguaje dominante
Go
Estrellas
253
Forks
15
Merge medio
19 h 30 min
PR fusionados (30 d)
60

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/gh-actions-lock

Todos los issues de github/gh-actions-lock

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.