Prevent deployment of pre-releases
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Open the README section that documents the GitHub Actions tag trigger. Update the documented tag patterns so tags with a hyphenated suffix, such as beta or release-candidate tags, are excluded while normal release tags still trigger deployment. Verify the example matches the requested workflow configuration.
Written by the indexing model from the issue text.
Description
Is your enhancement related to a problem? Please describe.
When developing a plugin on GitHub, it's not uncommon to tag pre-releases (like beta and release candidates). Those tags would also trigger a deployment on the plugin directory.
Describe the solution you'd like
The action currently runs on all tags. With a simple addition, which excludes all tags with a suffix (e.g. 2.0.0-beta, 2.0.0-RC1, etc.) such pre-release tags would not trigger the action.
name: Deploy to WordPress.org
on:
push:
tags:
- "*"
- "!*-*"
...
Additional context
This change can be done without chaning the files of the actions, it should only be added to the README of this repo.
- 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