riseproject-dev / riseproject-dev/python-wheels
Make dry-run publish steps' labeling more explicit
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 16 h 14 min
- PR fusionados (30 d)
- 952
Descripción
From https://github.com/riseproject-dev/python-wheels/pull/204#discussion_r3734442848:
not strictly related to this PR, but what about having a ./.github/workflows/deploy.yml workflow that would contains this to avoid copying it in each individual workflow?
The other benefit is that inside this file we could do something like:
- name: Deploy${{ github.ref != 'refs/heads/main' && ' (dry run)' || '' }}
uses: ./.github/actions/deploy
with:
dry-run: ${{ github.ref != 'refs/heads/main' }}
So the name of the job will actually contain "(dry run)" . Right now, we have the impression that the publish job succeeded and correctly uploaded file on the registry
Further deploy changes probably aren't worth the effort, but taking Julien's suggestion to make the dry-run labeling more explicit would be helpful for our PRs.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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.
Línea de trabajo
Revisa .github/workflows/deploy.yml y .github/actions/deploy, junto con los workflows que actualmente repiten los pasos de deploy. Actualiza el etiquetado del paso de publicación para que las ejecuciones en seco estén marcadas de forma visible y, después, ejecuta el workflow de GitHub Actions afectado para confirmar que el nombre del job comunica que no se realizó ninguna carga real.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github-actions
- Área
- ci-cd, release
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 73/100