Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

take care for action references that are submodules

Abierto
#39 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
git, github-actions, python
Área
devops, security

Línea de trabajo

Usa el ejemplo ci.yml de referencia para seguir la resolución de la ruta relativa de la acción y, después, inspecciona cómo se descarga action.yml cuando la ruta apunta a un submódulo de Git. Se considera terminado cuando las acciones locales alojadas en submódulos se reconocen y sus archivos action.yml se resuelven sin el error de descarga indicado.

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

Descripción

downloader good first issue Low Priority

When we try to resolve the actions, and when there are relative paths, we try to resolve these paths into absolute paths and download the referenced action.

Sometimes the resolved absolute path is referencing a submodule. We aren't aware of that, and try to download the file which means nothing.

A real-world example:
This is part of ci.yml file for apache/airflow repository:

- name: Configure AWS credentials
  uses: ./.github/actions/configure-aws-credentials
  if: >
    github.ref == 'refs/heads/main' && github.repository == 'apache/airflow' &&
    github.event_name == 'push'

the configure-aws-credentials is actually a submodule, so we are unable to find the action.yml file beneath it (even though he exists in the submodule)

This is how raven logs looks like:

[+] Found 6 workflows for apache/airflow
[+] Fetching build-images.yml
[+] Fetching ci.yml
[-] Couldn't download the action.yml for the dependent action referenced by './.github/actions/configure-aws-credentials' (Maybe runs a local action that was checked out previously? Maybe the action is executed through a Dockerfile?)
[-] Couldn't download the action.yml for the dependent action referenced by './.github/actions/github-push-action' (Maybe runs a local action that was checked out previously? Maybe the action is executed through a Dockerfile?)
Lenguaje dominante
Python
Estrellas
748
Forks
46
Métricas de merge de PR
Sin PR fusionados en 30 d

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 CycodeLabs/raven

Todos los issues de CycodeLabs/raven

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.