Prevent deployment of pre-releases
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- github-actions
- 领域
- ci-cd
调研方向
打开 README 中说明 GitHub Actions 标签触发器的部分。更新文档中的标签模式,使其排除带连字符后缀的标签(例如 beta 或 release-candidate 标签),同时普通的 release 标签仍会触发部署。验证示例与所要求的 workflow 配置相匹配。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Shell
- 星标
- 665
- 派生
- 115
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
10up/action-wordpress-plugin-deploy 的其他 Issue
-
help wanted
难度 3/5 1-2 天 新手友好度 55/100
-
help wanted
难度 3/5 1-2 天 新手友好度 65/100
-
难度 3/5 1-2 天 新手友好度 35/100
10up/action-wordpress-plugin-deploy#172 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
10up/action-wordpress-plugin-deploy#146 · 10 条评论 ·
查看 10up/action-wordpress-plugin-deploy 的全部 Issue
相似的 Issue
-
application-issue
难度 1/5 1 小时以内 新手友好度 82/100
Installomator/Installomator#3657 · 1 条评论 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
melodic-software/claude-code-plugins#17374 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
-
out-of-date
难度 2/5 1-3 小时 新手友好度 66/100
CachyOS/CachyOS-PKGBUILDS#2154 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
eip-work/kuboard-press#723 ·