Skip to content

ci: use GitHub API for functional test authorization#409

Open
alexxa wants to merge 1 commit intorhel-lightspeed:mainfrom
alexxa:feat/ci-auth-api
Open

ci: use GitHub API for functional test authorization#409
alexxa wants to merge 1 commit intorhel-lightspeed:mainfrom
alexxa:feat/ci-auth-api

Conversation

@alexxa
Copy link
Copy Markdown
Collaborator

@alexxa alexxa commented Apr 16, 2026

Replace the brittle author_association check with an API call to check effective repository permissions (admin, write, maintain). This correctly authorizes organization members even if their membership visibility is private. Also fail the job explicitly when unauthorized.

Replace the brittle author_association check with an API call to
check effective repository permissions (admin, write, maintain).
This correctly authorizes organization members even if their
membership visibility is private. Also fail the job explicitly
when unauthorized.
@alexxa alexxa requested a review from a team as a code owner April 16, 2026 18:23
@github-actions
Copy link
Copy Markdown

For team members: test commit 008b8c2 in internal GitLab

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 96.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant