Fail on tag mismatch

Aberta
#85 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
github-actions, shell, wordpress
Domínio
ci-cd, devops, release

Direção de pesquisa

Comece inspecionando o workflow de deployment e o entry point da action que trata a stable tag antes da publicação no WordPress.org. Rastreie onde a tag e a stable tag são lidas e, em seguida, verifique se uma divergência faz o workflow falhar sem atualizar a tag.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

help wanted type:enhancement

Is your enhancement related to a problem? Please describe.

If you mistakenly forget to update the stable tag, the deploy will happen but .org won't pick up the new version. This is never expected.

Describe the solution you'd like

The workflow should fail if the tag doesn't match the stable tag

Describe alternatives you've considered

I could probably write something in the workflow before this action runs but it feels like something the action should handle since there's never a case you would want to push the tag with a mismatched stable tag.

Additional context

I don't think the workflow should update the tag though. It should fail and alert.

Linguagem predominante
Shell
Estrelas
665
Forks
115
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de 10up/action-wordpress-plugin-deploy

Todas as issues de 10up/action-wordpress-plugin-deploy

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.