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 .
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
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.