riseproject-dev / riseproject-dev/python-wheels
Make dry-run publish steps' labeling more explicit
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 16h 14m
- PR unite (30g)
- 952
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Esamina .github/workflows/deploy.yml e .github/actions/deploy, insieme ai workflow che attualmente ripetono i passaggi di deploy. Aggiorna l’etichettatura del passaggio di pubblicazione in modo che le esecuzioni a secco siano contrassegnate visibilmente, quindi esegui il workflow GitHub Actions interessato per confermare che il nome del job comunichi che non è stato effettuato alcun upload reale.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions
- Ambito
- ci-cd, release
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 73/100