[英]Github actions - cancel/manually trigger workflow
I have a public repo, is it possible to enable canceling/manually triggering workflow for people who are not the repo owners?我有一个公共回购,是否可以为非回购所有者的人启用取消/手动触发工作流程?
I have added the below part to manually trigger the workflow.我添加了以下部分来手动触发工作流程。
on: workflow_dispatch
They need Collaborator access for a repository owned by a user account .他们需要协作者访问用户帐户所拥有的存储库。 For an organization repository, they need at least the Write role .对于组织存储库,他们至少需要Write 角色。
Manually running a workflow手动运行工作流
Write access to the repository is required to perform these steps.执行这些步骤需要对存储库的写入权限。
https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
Canceling a workflow取消工作流程
Write access to the repository is required to perform these steps.执行这些步骤需要对存储库的写入权限。
https://docs.github.com/en/actions/managing-workflow-runs/canceling-a-workflow https://docs.github.com/en/actions/managing-workflow-runs/canceling-a-workflow
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.