Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQUEST: Repository maintenance on opentelemetry-collector-contrib #2630

Open
ArthurSens opened this issue Mar 27, 2025 · 3 comments
Open

REQUEST: Repository maintenance on opentelemetry-collector-contrib #2630

ArthurSens opened this issue Mar 27, 2025 · 3 comments
Labels
area/repo-maintenance Maintenance of repos in the open-telemetry org

Comments

@ArthurSens
Copy link
Member

Affected Repository

https://github.com/open-telemetry/opentelemetry-collector-contrib

Requested changes

Review Github Action permissions, allowing it to create issues.

Purpose

We're setting up automation that creates new issues when tests fail on the main branch (open-telemetry/opentelemetry-collector-contrib#38270), and when calling the GitHub API we're failing with the error below:

Failed to create GitHub Issue	{"error": "POST https://api.github.com/repos/open-telemetry/opentelemetry-collector-contrib/issues: 403 Resource not accessible by integration []"}

To be transparent, I'm not 100% sure if this is a repository settings problem or something else, but I'm running out of ideas 😅.

The idea is based on this discussion: https://github.com/orgs/community/discussions/60820#discussioncomment-6445895

Expected Duration

Permanently if this is indeed what was missing to make the workflow work. If it's not, we can revert the new permissions.

Repository Maintainers

  • @open-telemetry/collector-contrib-maintainers
@trask
Copy link
Member

trask commented Mar 27, 2025

hi @ArthurSens! the default GITHUB_TOKEN doesn't have write permission when github actions are run from PRs (but it does when the github action is run from main)

@ArthurSens
Copy link
Member Author

ArthurSens commented Mar 27, 2025

Hmmmm, I see... that explain things. @mx-psi should we try it together at KubeCon if you have free time? I can clean up that PR and we coordinate the merge to test

@mx-psi
Copy link
Member

mx-psi commented Mar 27, 2025

Hmmmm, I see... that explain things. @mx-psi should we try it together at KubeCon if you have free time? I can clean up that PR and we coordinate the merge to test

Sure, let's do that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/repo-maintenance Maintenance of repos in the open-telemetry org
Projects
Status: No status
Development

No branches or pull requests

3 participants