Skip to content

chore: check write access#15645

Merged
andrei-near merged 4 commits intomasterfrom
check-repo-write-access
Apr 28, 2026
Merged

chore: check write access#15645
andrei-near merged 4 commits intomasterfrom
check-repo-write-access

Conversation

@andrei-near
Copy link
Copy Markdown
Contributor

Checking repo write access instead of org membership since user org membership data can be private and not visible via public api

Copilot AI review requested due to automatic review settings April 28, 2026 15:29
@andrei-near andrei-near requested a review from a team as a code owner April 28, 2026 15:29
@andrei-near andrei-near requested a review from saketh-are April 28, 2026 15:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the “external contributor merge” Zulip notifier workflow to determine “external” status based on repository permission level (write/maintain/admin) rather than GitHub org membership signals, which can be hidden via private org membership.

Changes:

  • Replace author_association-based gating with a GitHub API permission check for the PR author.
  • Run the workflow on all merged PRs to master, but only send the Zulip message when the author lacks write/maintain/admin.
  • Switch the Zulip API key secret reference to ZULIP_GHA_API_KEY.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/notify_zulip_external_merge.yml Outdated
@andrei-near andrei-near enabled auto-merge April 28, 2026 15:41
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.56%. Comparing base (163b7a2) to head (3bfc4fb).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #15645      +/-   ##
==========================================
+ Coverage   69.54%   69.56%   +0.01%     
==========================================
  Files         940      940              
  Lines      214521   214521              
  Branches   214521   214521              
==========================================
+ Hits       149198   149227      +29     
+ Misses      59396    59379      -17     
+ Partials     5927     5915      -12     
Flag Coverage Δ
pytests-nightly 1.14% <ø> (ø)
unittests 68.99% <ø> (+<0.01%) ⬆️
unittests-nightly 69.09% <ø> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@andrei-near andrei-near added this pull request to the merge queue Apr 28, 2026
Merged via the queue into master with commit 6ae23e8 Apr 28, 2026
32 checks passed
@andrei-near andrei-near deleted the check-repo-write-access branch April 28, 2026 16:19
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.

3 participants