Fail on tag mismatch
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by inspecting the deployment workflow and the action entry point that handles the stable tag before publishing to WordPress.org. Trace where the tag and stable tag are read, then verify that a mismatch fails the workflow without updating the tag.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Shell
- Stars
- 665
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 10up/action-wordpress-plugin-deploy
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
10up/action-wordpress-plugin-deploy#172 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
10up/action-wordpress-plugin-deploy#146 · 10 comments ·
All issues in 10up/action-wordpress-plugin-deploy
Similar issues
-
area: ui good first issue javascript priority: medium refactor
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fukubie/StockLlama#49 ·
-
github_actions priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Let's document: aptOpenhelp wanted let's document new command
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tldr-pages/tldr#25447 ·
Maintainers usually reply within 1 day
-
area:server ci-cd good first issue priority:high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
James-Burgess/framer#17 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day