Skip to content

Is it possible to evaluate permissions after if? #63736

Discussion options

You must be logged in to vote

Quote from a discussion with the GitHub Support:

The permission is evaluated before the if condition. It is set in the Set up job step. This is why the job still fails.

That explains the behavior.

It would be nice if this could be changed so that permissions are evaluated after if conditions.

Replies: 3 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 by git-developer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
1 participant