René's URL Explorer Experiment


Title: feat: add per-permission-level repo exclusions to github-add-repo-permissions by locus313 · Pull Request #48 · locus313/github-api-scripts · GitHub

Open Graph Title: feat: add per-permission-level repo exclusions to github-add-repo-permissions by locus313 · Pull Request #48 · locus313/github-api-scripts

X Title: feat: add per-permission-level repo exclusions to github-add-repo-permissions by locus313 · Pull Request #48 · locus313/github-api-scripts

Description: Summary Adds per-permission-level repository exclusion support to github-add-repo-permissions. Previously the script applied each configured permission level to every repo in the org (optionally prefix-filtered). Now each level can skip a specific set of repositories. Changes Script — added five optional exclusion variables: REPO_ADMIN_EXCLUDE, REPO_MAINTAIN_EXCLUDE, REPO_PUSH_EXCLUDE, REPO_TRIAGE_EXCLUDE, REPO_PULL_EXCLUDE. Each is a space-separated list of exact repo names skipped for that permission level only. New is_excluded and apply_level helpers handle the logic and emit a Skipping on (excluded) message. action.yml — exposed the five new variables as repo-*-exclude inputs with env mappings. README.md — documented the exclusion behavior and variables. Tests — added a "no permission level set" guard test plus two behavioral tests (excluded repo skipped for pull only; all repos applied when exclude empty), backed by a new endpoint-aware curl mock at tests/mock_curl_permissions.sh. Motivation Allows granting broad team access while carving out sensitive repositories from a specific level (e.g., exclude certain repos from a read-only/pull team) without splitting runs or maintaining separate configs. Testing shellcheck clean on the modified script and new mock. bats tests/ — full suite passes (101 tests), including the 5 tests for this script. Usage example export REPO_PULL="external-auditors" export REPO_PULL_EXCLUDE="secret-repo internal-tools"

Open Graph Description: Summary Adds per-permission-level repository exclusion support to github-add-repo-permissions. Previously the script applied each configured permission level to every repo in the org (optionally pr...

X Description: Summary Adds per-permission-level repository exclusion support to github-add-repo-permissions. Previously the script applied each configured permission level to every repo in the org (optionally pr...

Opengraph URL: https://github.com/locus313/github-api-scripts/pull/48

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:737aadb6-5bbe-2af2-a83e-1cc4638ad072
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99B6:12F7EE:AFB365:EB37DC:6A62A97F
html-safe-nonce6c99cb10331462576e4ae8d77e5a7050134d263ded1036273a18e9a0f0111ae9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUI2OjEyRjdFRTpBRkIzNjU6RUIzN0RDOjZBNjJBOTdGIiwidmlzaXRvcl9pZCI6IjczMDQ2NzQyMDc1MDY1NDA5MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0c67489b9ae5b6e01f593518b594b311ed428618ab10287937c5e77b6a52a3d9
hovercard-subject-tagpull_request:4025344118
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/locus313/github-api-scripts/pull/48/files
twitter:imagehttps://avatars.githubusercontent.com/u/4015312?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4015312?s=400&v=4
og:image:altSummary Adds per-permission-level repository exclusion support to github-add-repo-permissions. Previously the script applied each configured permission level to every repo in the org (optionally pr...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee362a1b5e54cdb52dad78dc403bb9e6a8362e7c0448a1d804fe243f9fac57954
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/locus313/github-api-scripts git https://github.com/locus313/github-api-scripts.git
octolytics-dimension-user_id4015312
octolytics-dimension-user_loginlocus313
octolytics-dimension-repository_id382846115
octolytics-dimension-repository_nwolocus313/github-api-scripts
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id382846115
octolytics-dimension-repository_network_root_nwolocus313/github-api-scripts
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5410e150d3e7c804f80827080c5f130c97eaf5a4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/locus313/github-api-scripts/pull/48/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flocus313%2Fgithub-api-scripts%2Fpull%2F48%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flocus313%2Fgithub-api-scripts%2Fpull%2F48%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=locus313%2Fgithub-api-scripts
Reloadhttps://github.com/locus313/github-api-scripts/pull/48/files
Reloadhttps://github.com/locus313/github-api-scripts/pull/48/files
Reloadhttps://github.com/locus313/github-api-scripts/pull/48/files
locus313 https://github.com/locus313
github-api-scriptshttps://github.com/locus313/github-api-scripts
Please reload this pagehttps://github.com/locus313/github-api-scripts/pull/48/files
Notifications https://github.com/login?return_to=%2Flocus313%2Fgithub-api-scripts
Fork 1 https://github.com/login?return_to=%2Flocus313%2Fgithub-api-scripts
Star 2 https://github.com/login?return_to=%2Flocus313%2Fgithub-api-scripts
Code https://github.com/locus313/github-api-scripts
Issues 0 https://github.com/locus313/github-api-scripts/issues
Pull requests 0 https://github.com/locus313/github-api-scripts/pulls
Actions https://github.com/locus313/github-api-scripts/actions
Projects https://github.com/locus313/github-api-scripts/projects
Security and quality 0 https://github.com/locus313/github-api-scripts/security
Insights https://github.com/locus313/github-api-scripts/pulse
Code https://github.com/locus313/github-api-scripts
Issues https://github.com/locus313/github-api-scripts/issues
Pull requests https://github.com/locus313/github-api-scripts/pulls
Actions https://github.com/locus313/github-api-scripts/actions
Projects https://github.com/locus313/github-api-scripts/projects
Security and quality https://github.com/locus313/github-api-scripts/security
Insights https://github.com/locus313/github-api-scripts/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Flocus313%2Fgithub-api-scripts%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flocus313%2Fgithub-api-scripts%2Fissues%2Fnew%2Fchoose
locus313https://github.com/locus313
mainhttps://github.com/locus313/github-api-scripts/tree/main
feature/repo-permissions-exclusionshttps://github.com/locus313/github-api-scripts/tree/feature/repo-permissions-exclusions
Conversation 0 https://github.com/locus313/github-api-scripts/pull/48
Commits 1 https://github.com/locus313/github-api-scripts/pull/48/commits
Checks 2 https://github.com/locus313/github-api-scripts/pull/48/checks
Files changed https://github.com/locus313/github-api-scripts/pull/48/files
Please reload this pagehttps://github.com/locus313/github-api-scripts/pull/48/files
feat: add per-permission-level repo exclusions to github-add-repo-permissions https://github.com/locus313/github-api-scripts/pull/48/files#top
Show all changes 1 commit https://github.com/locus313/github-api-scripts/pull/48/files
16cca06 feat: add per-permission-level repo exclusions to github-add-repo-per… locus313 Jul 9, 2026 https://github.com/locus313/github-api-scripts/pull/48/commits/16cca06d42c8bad606a2f7689eb76a9389fe1dd3
Clear filters https://github.com/locus313/github-api-scripts/pull/48/files
Please reload this pagehttps://github.com/locus313/github-api-scripts/pull/48/files
Please reload this pagehttps://github.com/locus313/github-api-scripts/pull/48/files
README.md https://github.com/locus313/github-api-scripts/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
action.yml https://github.com/locus313/github-api-scripts/pull/48/files#diff-7bac72ef22181647658b70cd8645fce893d013af9c9821837e9ff8c811cb923b
github-add-repo-permissions.sh https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
mock_curl_permissions.sh https://github.com/locus313/github-api-scripts/pull/48/files#diff-97b4e63bd6e8c7c598031890028eb13e3dce2870aa35e202ed300863617d6bb7
test_script_validation.bats https://github.com/locus313/github-api-scripts/pull/48/files#diff-11643026aeb367e6b2323376ee69840de9eee6eb466a1bdbbd2b0f9b3e27a858
README.mdhttps://github.com/locus313/github-api-scripts/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/locus313/github-api-scripts/blob/16cca06d42c8bad606a2f7689eb76a9389fe1dd3/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/locus313/github-api-scripts/pull/48/{{ revealButtonHref }}
https://github.com/locus313/github-api-scripts/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/locus313/github-api-scripts/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/locus313/github-api-scripts/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/locus313/github-api-scripts/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
org-admin/github-add-repo-permissions/action.ymlhttps://github.com/locus313/github-api-scripts/pull/48/files#diff-7bac72ef22181647658b70cd8645fce893d013af9c9821837e9ff8c811cb923b
View file https://github.com/locus313/github-api-scripts/blob/16cca06d42c8bad606a2f7689eb76a9389fe1dd3/org-admin/github-add-repo-permissions/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/locus313/github-api-scripts/pull/48/{{ revealButtonHref }}
https://github.com/locus313/github-api-scripts/pull/48/files#diff-7bac72ef22181647658b70cd8645fce893d013af9c9821837e9ff8c811cb923b
https://github.com/locus313/github-api-scripts/pull/48/files#diff-7bac72ef22181647658b70cd8645fce893d013af9c9821837e9ff8c811cb923b
org-admin/github-add-repo-permissions/github-add-repo-permissions.shhttps://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
View file https://github.com/locus313/github-api-scripts/blob/16cca06d42c8bad606a2f7689eb76a9389fe1dd3/org-admin/github-add-repo-permissions/github-add-repo-permissions.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/locus313/github-api-scripts/pull/48/{{ revealButtonHref }}
https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
https://github.com/locus313/github-api-scripts/pull/48/files#diff-65d464e04414675a619cb0fcab2e4a950c78bde60103bfb7d53b3936d72b91f2
tests/mock_curl_permissions.shhttps://github.com/locus313/github-api-scripts/pull/48/files#diff-97b4e63bd6e8c7c598031890028eb13e3dce2870aa35e202ed300863617d6bb7
View file https://github.com/locus313/github-api-scripts/blob/16cca06d42c8bad606a2f7689eb76a9389fe1dd3/tests/mock_curl_permissions.sh
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/locus313/github-api-scripts/pull/48/{{ revealButtonHref }}
tests/test_script_validation.batshttps://github.com/locus313/github-api-scripts/pull/48/files#diff-11643026aeb367e6b2323376ee69840de9eee6eb466a1bdbbd2b0f9b3e27a858
View file https://github.com/locus313/github-api-scripts/blob/16cca06d42c8bad606a2f7689eb76a9389fe1dd3/tests/test_script_validation.bats
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/locus313/github-api-scripts/pull/48/{{ revealButtonHref }}
https://github.com/locus313/github-api-scripts/pull/48/files#diff-11643026aeb367e6b2323376ee69840de9eee6eb466a1bdbbd2b0f9b3e27a858
https://github.com/locus313/github-api-scripts/pull/48/files#diff-11643026aeb367e6b2323376ee69840de9eee6eb466a1bdbbd2b0f9b3e27a858
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.