Azure / Azure/azure-rest-api-specs

[EngSys] Add check to verify PR author permissions

Open
#36,561 0 comments 0 reactions 1 assignee Claimed by @mikeharder View on GitHub
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

If a PR author doesn't have write access, their PR will be blocked with missing/failing checks, since workflows or pipelines may fail to run (or fail with a runtime error). Example:

https://github.com/Azure/azure-rest-api-specs-pr/pull/23592/checks?sha=7192e7b5c9aafa0dabcb8c555065f6832d0b9b3e

Perhaps we could add a simple workflow to check the users permissions, and fail with a clear error message if incorrect?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.