René's URL Explorer Experiment
Title: feat: fix CI, add permissions for dependency graph submission by Copilot · Pull Request #4 · aviatorscript/aviatorscript · GitHub
Open Graph Title: feat: fix CI, add permissions for dependency graph submission by Copilot · Pull Request #4 · aviatorscript/aviatorscript
X Title: feat: fix CI, add permissions for dependency graph submission by Copilot · Pull Request #4 · aviatorscript/aviatorscript
Description: fix: #3
CI was failing with 403 on maven-dependency-submission-action due to missing API permissions.
Changes
Added permissions: contents: write to workflow job for dependency graph API access
Restricted dependency submission to push events only (if: github.event_name == 'push') to avoid unnecessary runs and permission issues on fork PRs
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# ... other steps ...
- name: Update dependency graph
if: github.event_name == 'push'
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/advanced-security/maven-dependency-submission-action/releases/latest
Triggering command: /usr/bin/curl curl -s REDACTED (http block)
If you need me to access, download, or install something from one of these locations, you can either:
Configure Actions setup steps to set up my environment, which run before the firewall is enabled
Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
Original prompt
This section details on the original issue you should resolve
[bug] fix CI error
see: https://github.com/aviatorscript/aviatorscript/actions/runs/21241280825
Annotations
4 errors, 1 warning, and 2 notices
buildHttpError: Resource not accessible by integration at /home/runner/work/_actions/advanced-security/maven-dependency-submission-action/571e99aab1055c2e71a1e2309b9691de18d6b7d6/webpack:/maven-dependency-tree-action/node_modules/@github/dependency-submission-toolkit/dist/index.js:5317:1 at processTicksAndRejections (node:internal/process/task_queues:95:5)
--
buildResource not accessible by integration
buildResponse body: { "message": "Resource not accessible by integration", "documentation_url": "https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository", "status": "403" }
buildHTTP Status 403 for request POST https://api.github.com/repos/aviatorscript/aviatorscript/dependency-graph/snapshots
buildThe `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build{ "detector": { "name": "maven-dependency-tree-action", "url": "https://github.com/advanced-security/maven-dependency-tree-action", "version": "1.1.0" }, "version": 0, "job": { "correlator": "build", "id": "21241280825" }, "sha": "28c8e594d23f14b56e1e48b36160fa254752e25e", "ref": "refs/heads/master", "scanned": "2026-01-22T08:26:10.330Z", "manifests": { "aviator": { "resolved": { "pkg:maven/junit/junit@4.13.1": { "package_url": "pkg:maven/junit/junit@4.13.1", "relationship": "direct", "scope": "development", "dependencies": [ "pkg:maven/org.hamcrest/hamcrest-core@1.3" ] }, "pkg:maven/org.hamcrest/hamcrest-core@1.3": { "package_url": "pkg:maven/org.hamcrest/hamcrest-core@1.3", "relationship": "indirect", "scope": "development", "dependencies": [] }, "pkg:maven/org.mockito/mockito-all@1.10.19": { "package_url": "pkg:maven/org.mockito/mockito-all@1.10.19", "relationship": "direct", "scope": "development", "dependencies": [] }, "pkg:maven/org.springframework/spring-context@5.3.36": { "package_url": "pkg:maven/org.springframework/spring-context@5.3.36", "relationship": "direct", "scope": "runtime", "dependencies": [ "pkg:maven/org.springframework/spring-aop@5.3.36", "pkg:maven/org.springframework/spring-beans@5.3.36", "pkg:maven/org.springframework/spring-core@5.3.36", "pkg:maven/org.springframework/spring-expression@5.3.36" ] }, "pkg:maven/org.springframework/spring-aop@5.3.36": { "package_url": "pkg:maven/org.springframework/spring-aop@5.3.36", "relationship": "indirect", "scope": "runtime", "dependencies": [] }, "pkg:maven/org.springframework/spring-beans@5.3.36": { "package_url": "pkg:maven/org.springframework/spring-beans@5.3.36", "relationship": "indirect", "scope": "runtime", "dependencies": [] }, "pkg:maven/org.springframework/spring-core@5.3.36": { "package_url": "pkg:maven/org.springframework/spring-core@5.3.36", "relationship": "indirect", "scope": "runtime", "dependencies": [ "pkg:maven/org.springframework/spring-jcl@5.3.36" ] }, "pkg:maven/org.springframework/spring-jcl@5.3.36": { "package_url": "pkg:maven/org.springframework/spring-jcl@5.3.36", "relationship": "indirect", "scope": "runtime", "dependencies": [] }, "pkg:maven/org.springframework/spring-expression@5.3.36": { "package_url": "pkg:maven/org.springframework/spring-expression@5.3.36", "relationship": "indirect", "scope": "runtime", "dependencies": [] }, "pkg:maven/org.openjdk.jmh/jmh-core@1.20": { "package_url": "pkg:maven/org.openjdk.jmh/jmh-core@1.20", "relationshi...
- Fixes aviatorscript/aviatorscript#3
---
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.
Open Graph Description: fix: #3
CI was failing with 403 on maven-dependency-submission-action due to missing API permissions.
Changes
Added permissions: contents: write to workflow job for dependency graph API access
Res...
X Description: fix: #3
CI was failing with 403 on maven-dependency-submission-action due to missing API permissions.
Changes
Added permissions: contents: write to workflow job for dependency graph API access
Res...
Opengraph URL: https://github.com/aviatorscript/aviatorscript/pull/4
X: @github
direct link
Domain: github.com
IPv4 address: 140.82.114.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:447f47c9-673c-4aee-1a02-c63d3473ac92 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D48C:16ED35:6A83DD:8D059B:6B04C646 |
| html-safe-nonce | b362ace818eaf9370c92f0380180386f14aba069f9992167c792501d1b57cb42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDhDOjE2RUQzNTo2QTgzREQ6OEQwNTlCOjZCMDRDNjQ2IiwidmlzaXRvcl9pZCI6IjYxNjQ3NDEwMTkwMjA4NzEyMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9f3e901a0796e2c9df10dee92e6a2f6900648d8ef0259de8d0ad4d84fec1c275 |
| hovercard-subject-tag | pull_request:3198400647 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/aviatorscript/aviatorscript/pull/4/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | fix: #3
CI was failing with 403 on maven-dependency-submission-action due to missing API permissions.
Changes
Added permissions: contents: write to workflow job for dependency graph API access
Res... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85dd75377eb77313206b8fc108bcee6a3a029286d94bf32bf9b4426e4d92e0c4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/aviatorscript/aviatorscript git https://github.com/aviatorscript/aviatorscript.git |
| octolytics-dimension-user_id | 256508575 |
| octolytics-dimension-user_login | aviatorscript |
| octolytics-dimension-repository_id | 1139611944 |
| octolytics-dimension-repository_nwo | aviatorscript/aviatorscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1139611944 |
| octolytics-dimension-repository_network_root_nwo | aviatorscript/aviatorscript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0d64fa748a2bab9a5b587a967ac4da1cfa8da6dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Skip to content | https://github.com/aviatorscript/aviatorscript/pull/4/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faviatorscript%2Faviatorscript%2Fpull%2F4%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faviatorscript%2Faviatorscript%2Fpull%2F4%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=aviatorscript%2Faviatorscript |
| Reload | https://github.com/aviatorscript/aviatorscript/pull/4/files |
| Reload | https://github.com/aviatorscript/aviatorscript/pull/4/files |
| Reload | https://github.com/aviatorscript/aviatorscript/pull/4/files |
| aviatorscript | https://github.com/aviatorscript |
| aviatorscript | https://github.com/aviatorscript/aviatorscript |
| Code | https://github.com/aviatorscript/aviatorscript |
| Issues | https://github.com/aviatorscript/aviatorscript/issues |
| Pull requests | https://github.com/aviatorscript/aviatorscript/pulls |
| Actions | https://github.com/aviatorscript/aviatorscript/actions |
| Projects | https://github.com/aviatorscript/aviatorscript/projects |
| Security and quality | https://github.com/aviatorscript/aviatorscript/security |
| Insights | https://github.com/aviatorscript/aviatorscript/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Faviatorscript%2Faviatorscript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Faviatorscript%2Faviatorscript%2Fissues%2Fnew%2Fchoose |
| nomeguy | https://github.com/nomeguy |
| master | https://github.com/aviatorscript/aviatorscript/tree/master |
| copilot/fix-ci-error | https://github.com/aviatorscript/aviatorscript/tree/copilot/fix-ci-error |
|
Conversation
0
| https://github.com/aviatorscript/aviatorscript/pull/4 |
|
Commits
3
| https://github.com/aviatorscript/aviatorscript/pull/4/commits |
|
Checks
1
| https://github.com/aviatorscript/aviatorscript/pull/4/checks |
|
Files changed
| https://github.com/aviatorscript/aviatorscript/pull/4/files |
| Please reload this page | https://github.com/aviatorscript/aviatorscript/pull/4/files |
|
feat: fix CI, add permissions for dependency graph submission
| https://github.com/aviatorscript/aviatorscript/pull/4/files#top |
|
Show all changes
3 commits
| https://github.com/aviatorscript/aviatorscript/pull/4/files |
|
be10f58
Initial plan
Copilot Jan 22, 2026
| https://github.com/aviatorscript/aviatorscript/pull/4/commits/be10f58afcba884d0cc3ed82e3b4e83e4d7e2eae |
|
e5930d6
Fix CI error by adding contents write permission to workflow
Copilot Jan 22, 2026
| https://github.com/aviatorscript/aviatorscript/pull/4/commits/e5930d675498efd25ab1886c93621fd6ab855fc6 |
|
0683ff3
Add conditional to dependency submission for better security
Copilot Jan 22, 2026
| https://github.com/aviatorscript/aviatorscript/pull/4/commits/0683ff3665314986f5b037951370ab44aa0eb1ff |
|
Clear filters
| https://github.com/aviatorscript/aviatorscript/pull/4/files |
| Please reload this page | https://github.com/aviatorscript/aviatorscript/pull/4/files |
| Please reload this page | https://github.com/aviatorscript/aviatorscript/pull/4/files |
| .github/workflows/maven.yml | https://github.com/aviatorscript/aviatorscript/pull/4/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446 |
|
View file
| https://github.com/aviatorscript/aviatorscript/blob/0683ff3665314986f5b037951370ab44aa0eb1ff/.github/workflows/maven.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/aviatorscript/aviatorscript/pull/4/{{ revealButtonHref }} |
|
| https://github.com/aviatorscript/aviatorscript/pull/4/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446 |
|
| https://github.com/aviatorscript/aviatorscript/pull/4/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |
Response headers:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width
URLs of crawlers that visited me.