open-telemetry / community

OpenTelemetry community content
https://opentelemetry.io
Apache License 2.0
752 stars 228 forks source link

REQUEST: Repository maintenance on opentelemetry-js #2277

Open pichlermarc opened 1 month ago

pichlermarc commented 1 month ago

Affected Repository

https://github.com/open-telemetry/opentelemetry-js

Requested changes

Please add the read:org permission to OPENTELEMETRYBOT_GITHUB_TOKEN. 🙂

Purpose

read:org permission would allow us to update descriptions for PRs opened by @opentelemetrybot. Recently we added a workflow to automatically create release PRs, but the workflow can't edit the description of its own PR without read:org.

Additional Context:

Expected Duration

Permanent

Repository Maintainers

trask commented 4 weeks ago

Please add the read:org permission to OPENTELEMETRYBOT_GITHUB_TOKEN

I support this 👍

from https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes, read:org is:

Read-only access to organization membership, organization projects, and team membership.

and @opentelemetrybot doesn't have any special read privileges to the https://github.com/open-telemetry org (it is just a normal org member)

pichlermarc commented 1 week ago

Thanks :slightly_smiling_face: The permissions are now assigned, waiting for #2239 to merge before closing this issue as done :slightly_smiling_face: