github动作 - 更改“使用工作流程”从默认值中选择

发布于 2025-01-21 17:29:09 字数 426 浏览 2 评论 0原文

为了简单起见,我们正在使用GitHub操作来部署我们的产品。另外,我们还有一个开发分支机构,其中我们正在进行有关产品的一些测试。 分支作为默认分支

这就是为什么,我们正在使用开发 生产,

我想更改“使用“使用工作流”分支的特定工作流程,因为它显示为生产工作流程中的默认值

“在此处输入映像”

我的问题是,有什么方法可以显示出其他不同的分支为默认在这个下拉列表中?我想默认显示主分支,而不会更改项目的默认分支,因为这是生产工作流,

谢谢大家

To make it simple, we're deploying our product via using Github Actions. Also we have a develop branch in which we're running some tests about our product. That's why, we're using develop branch as a default branch since we're opening our pull requests to develop branch automatically

Also we're running a manual workflow for going to production

But

I want to change the "Use Workflow from" branch for a specific workflow since it's showing develop as default in Production workflow

enter image description here

My question is, is there any way that I can show a different branch as default in this dropdown? I wanted to show master branch by default without changing the default branch of the project since this is the production workflow

Thank you all

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文