| 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:03f18a41-84da-c99a-fd40-89bbc38989af |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF24:62F48:29F20F:3795DE:6B01BFB1 |
| html-safe-nonce | 4239294e2c5e9010848e9c6ce79fdedad49810f81fbc204f0a65fe78fec8ec59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjI0OjYyRjQ4OjI5RjIwRjozNzk1REU6NkIwMUJGQjEiLCJ2aXNpdG9yX2lkIjoiMTA5MjM4OTA3OTE0NTg4OTcxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e5f20c397dee5f2222b7d7850c1fa9816a3919623e4c3fc2842941dce64af83d |
| hovercard-subject-tag | pull_request:3583966712 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,actions,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/actions/github-script/pull/715/files |
| twitter:image | https://avatars.githubusercontent.com/u/803101?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/803101?s=400&v=4 |
| og:image:alt | Closes #714
Problem
Inline script is a YAML string — invisible to linters and IDEs. The common workaround was wrapping a require call inside the inline script, which still needs boilerplate and ass... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/actions/github-script git https://github.com/actions/github-script.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 205262760 |
| octolytics-dimension-repository_nwo | actions/github-script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205262760 |
| octolytics-dimension-repository_network_root_nwo | actions/github-script |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/actions/github-script/pull/715/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fgithub-script%2Fpull%2F715%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%2Factions%2Fgithub-script%2Fpull%2F715%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=actions%2Fgithub-script |
| Reload | https://github.com/actions/github-script/pull/715/files |
| Reload | https://github.com/actions/github-script/pull/715/files |
| Reload | https://github.com/actions/github-script/pull/715/files |
| actions | https://github.com/actions |
| github-script | https://github.com/actions/github-script |
| Code | https://github.com/actions/github-script |
| Issues60 (60) | https://github.com/actions/github-script/issues |
| Pull requests36 (36) | https://github.com/actions/github-script/pulls |
| Discussions | https://github.com/actions/github-script/discussions |
| Actions | https://github.com/actions/github-script/actions |
| Security and quality | https://github.com/actions/github-script/security |
| Insights | https://github.com/actions/github-script/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Factions%2Fgithub-script%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=%2Factions%2Fgithub-script%2Fissues%2Fnew%2Fchoose |
| osher | https://github.com/osher |
| actions:main | https://github.com/actions/github-script/tree/main |
| osher:feat/script-file | https://github.com/osher/github-script/tree/feat/script-file |
|
Conversation
2
| https://github.com/actions/github-script/pull/715 |
|
Commits
1
| https://github.com/actions/github-script/pull/715/commits |
|
Checks
0
| https://github.com/actions/github-script/pull/715/checks |
|
Files changed
| https://github.com/actions/github-script/pull/715/files |
| Please reload this page | https://github.com/actions/github-script/pull/715/files |
|
feat: add script-file input for lint-friendly external JS scripts
| https://github.com/actions/github-script/pull/715/files#top |
|
Show all changes
1 commit
| https://github.com/actions/github-script/pull/715/files |
|
67c280d
feat: add script-file input for lint-friendly external JS scripts
osher Apr 25, 2026
| https://github.com/actions/github-script/pull/715/commits/67c280d263192cbe86562282f6203309e110eb09 |
|
Clear filters
| https://github.com/actions/github-script/pull/715/files |
| Please reload this page | https://github.com/actions/github-script/pull/715/files |
| Please reload this page | https://github.com/actions/github-script/pull/715/files |
|
all-args.js
| https://github.com/actions/github-script/pull/715/files#diff-14f06dfe0a0894510d9855e218030fde462b4ab02abecec85142ce02551f40cb |
|
basic.js
| https://github.com/actions/github-script/pull/715/files#diff-c565b480c72d62128fd212daa666046879ad72a0330f2be9d2fd21331998ff94 |
|
json-return.js
| https://github.com/actions/github-script/pull/715/files#diff-7a4d8a95f65aa379c8e024a95d1d0c81235804453118acdf0061a6b5e5cb00f9 |
|
not-a-function.js
| https://github.com/actions/github-script/pull/715/files#diff-7628a27910cae7279a06468185bce3acade79438b23a3788f4d554ac80c63be5 |
|
sibling-caller.js
| https://github.com/actions/github-script/pull/715/files#diff-ee1cea3d2a3948e8c711cb2fd604034911fec5c3aa35463c9c5d6fdf0631f503 |
|
sibling-module.js
| https://github.com/actions/github-script/pull/715/files#diff-755079aa84781f2971d7485817d059cb7772344529d4e22df1ccd9160bf405f5 |
|
integration.yml
| https://github.com/actions/github-script/pull/715/files#diff-82454b2fc887e9985b9348b8f3bca03d2f839645a4c3ba1f3f850014d7da5c8b |
|
README.md
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
script-file.test.ts
| https://github.com/actions/github-script/pull/715/files#diff-b771f882966d01ab8d08c0fa08eb54e7af534733771b0863ca8771aabe0722cf |
|
action.yml
| https://github.com/actions/github-script/pull/715/files#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6 |
|
index.js
| https://github.com/actions/github-script/pull/715/files#diff-3d2b59189eeedc2d428ddd632e97658fe310f587f7cb63b01f9b98ffc11c0197 |
|
args.ts
| https://github.com/actions/github-script/pull/715/files#diff-f15b8e97bcfc645f8a5c25ac00512ae33cc1fb1e338fc9c079a1822e560a59dc |
|
async-function.ts
| https://github.com/actions/github-script/pull/715/files#diff-dbb29757fc1d2f7daeae34c0c584b90ad4645833e4617e7082762abb2c7724c4 |
|
main.ts
| https://github.com/actions/github-script/pull/715/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3d |
|
script-file.ts
| https://github.com/actions/github-script/pull/715/files#diff-ab5d1b63003e4e9eb88eefc14dc7f6cee8ff21e7345fa5906bcaafc01c7ba981 |
|
args.d.ts
| https://github.com/actions/github-script/pull/715/files#diff-46868f6aea3da187cd5fa3387693ab7e0ec3311b0d7108134fbba9cfe68aa268 |
|
async-function.d.ts
| https://github.com/actions/github-script/pull/715/files#diff-4bec391c0425c5342258d89eb5eaf4414c0b0d9b2f4a6e39fec90c90b781730d |
|
non-webpack-require.ts
| https://github.com/actions/github-script/pull/715/files#diff-964e4ddc37b069327613d8314b171cebe3ba42a8c95e3e88e41384aa206e93ed |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/fixtures/script-file/all-args.js | https://github.com/actions/github-script/pull/715/files#diff-14f06dfe0a0894510d9855e218030fde462b4ab02abecec85142ce02551f40cb |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/fixtures/script-file/all-args.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/fixtures/script-file/basic.js | https://github.com/actions/github-script/pull/715/files#diff-c565b480c72d62128fd212daa666046879ad72a0330f2be9d2fd21331998ff94 |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/fixtures/script-file/basic.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/fixtures/script-file/json-return.js | https://github.com/actions/github-script/pull/715/files#diff-7a4d8a95f65aa379c8e024a95d1d0c81235804453118acdf0061a6b5e5cb00f9 |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/fixtures/script-file/json-return.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/fixtures/script-file/not-a-function.js | https://github.com/actions/github-script/pull/715/files#diff-7628a27910cae7279a06468185bce3acade79438b23a3788f4d554ac80c63be5 |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/fixtures/script-file/not-a-function.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/fixtures/script-file/sibling-caller.js | https://github.com/actions/github-script/pull/715/files#diff-ee1cea3d2a3948e8c711cb2fd604034911fec5c3aa35463c9c5d6fdf0631f503 |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/fixtures/script-file/sibling-caller.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/fixtures/script-file/sibling-module.js | https://github.com/actions/github-script/pull/715/files#diff-755079aa84781f2971d7485817d059cb7772344529d4e22df1ccd9160bf405f5 |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/fixtures/script-file/sibling-module.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| .github/workflows/integration.yml | https://github.com/actions/github-script/pull/715/files#diff-82454b2fc887e9985b9348b8f3bca03d2f839645a4c3ba1f3f850014d7da5c8b |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/.github/workflows/integration.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/pull/715/files#diff-82454b2fc887e9985b9348b8f3bca03d2f839645a4c3ba1f3f850014d7da5c8b |
|
| https://github.com/actions/github-script/blob/main/CODEOWNERS#L1 |
| README.md | https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
View file
| https://github.com/actions/github-script/blob/67c280d263192cbe86562282f6203309e110eb09/README.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/github-script/pull/715/{{ revealButtonHref }} |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
|
| https://github.com/actions/github-script/pull/715/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 |
| Please reload this page | https://github.com/actions/github-script/pull/715/files |
|
| 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 |