Skip to content

Who can manually trigger a workflow using workflow_dispatch #26053

Answered by BrightRan
itsayellow asked this question in Actions
Discussion options

You must be logged in to vote

@itsayellow,

Does a GITHUB_TOKEN work the same way, with a maximum of my permissions?

No, the GITHUB_TOKEN does not have the full access.

As you can see the introduction from the docs shared by @nethgato about the GITHUB_TOKEN, the permissions of GITHUB_TOKEN are limited to the repository that contains your workflow.
And even if in the workflow repository, the GITHUB_TOKEN also does not have full access, for example you can’t use the GITHUB_TOKEN to add, update or delete workflow files.
Many APIs related to workflows require the authentication token has the ‘workflow’ scope, but the GITHUB_TOKEN does not have this scope.

The GITHUB_TOKEN is generated to authenticate on behalf of GitHub …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants