Azure / template-specs

MIT License
31 stars 4 forks source link

Updating PR workflow to fix team lookup issue #72

Closed stuartko closed 2 years ago

stuartko commented 2 years ago

The default token used for github actions does not have access to read team memberships, which means for users that are added as collaborators via a team, we couldn't resolve whether or not they were collaborators using the default token. To address this, this change breaks our workflow into two steps, the first will get the collaborator status using a new token with org read access, and the second step will perform the associated PR actions (commenting, tagging, closing, etc).

github-actions[bot] commented 2 years ago

Closing PR automatically. Only project collaborators are authorized to submit PRs, and stuartko is not an authorized collaborator.

github-actions[bot] commented 2 years ago

Closing PR automatically. Only project collaborators are authorized to submit PRs, and stuartko is not an authorized collaborator.