Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
0fc82f5
Add ContributorAuthorization lib for external contributor checks
roryabraham May 23, 2026
fb3d1f0
Add isAuthorizedContributor GitHub action
roryabraham May 23, 2026
c15d2aa
Replace contributorValidationGate workflow with isAuthorizedContribut…
roryabraham May 23, 2026
dc66011
Checkout before isAuthorizedContributor in gated workflows
roryabraham May 23, 2026
0dea1f0
Rebuild gh actions
roryabraham May 23, 2026
e5fc210
Fix RequestError mock options in ContributorAuthorizationTest
roryabraham May 23, 2026
782349d
Colocate contributor auth logic in isAuthorizedContributor action
roryabraham May 23, 2026
9fe8787
Rename ContributorAuthorizationTest to isAuthorizedContributorTest
roryabraham May 23, 2026
a4b4250
Simplify isAuthorizedContributor without behavior change
roryabraham May 23, 2026
4422a7c
Remove stripHtmlComments from isAuthorizedContributor
roryabraham May 23, 2026
6173256
Inline login matching in isAuthorizedContributor
roryabraham May 23, 2026
cb51268
Remove isAuthorizedViaLinkedPullRequests
roryabraham May 23, 2026
256f73a
Simplify core.setOutput call, boolean is coerced to string automatically
roryabraham May 23, 2026
dbbacf6
Remove extraneous change
roryabraham May 23, 2026
e2a19cf
DRY up claude-review.yml with a set-authorized step
roryabraham May 23, 2026
76b12fa
Use useblacksmith/checkout in place of actions/checkout
roryabraham May 23, 2026
c0b1831
Remove outdaterd hash
roryabraham May 23, 2026
ff048e8
Merge remote-tracking branch 'origin/main' into chore/is-authorized-c…
roryabraham May 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/actions/javascript/isAuthorizedContributor/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Is Authorized Contributor'
description: 'Checks whether a PR author is authorized to contribute (org member, Contributor+, or linked issue/PR)'
inputs:
PR_NUMBER:
description: Pull request number
required: true
PR_AUTHOR:
description: Pull request author login
required: true
AUTHOR_ASSOCIATION:
description: "Author's association with the repository (MEMBER, OWNER, CONTRIBUTOR, etc.)"
required: true
GITHUB_TOKEN:
description: Auth token for repository API calls
required: false
Comment thread
roryabraham marked this conversation as resolved.
default: ${{ github.token }}
OS_BOTIFY_TOKEN:
description: OSBotify token for org team membership (read:org)
required: true
outputs:
IS_AUTHORIZED:
description: "'true' if the contributor is authorized, 'false' otherwise"
runs:
using: 'node24'
main: './index.js'
Loading
Loading