Skip to content

build(deps): bump actions/github-script from 8 to 9#874

Merged
AtomicFS merged 1 commit intomainfrom
dependabot/github_actions/actions/github-script-9
Apr 10, 2026
Merged

build(deps): bump actions/github-script from 8 to 9#874
AtomicFS merged 1 commit intomainfrom
dependabot/github_actions/actions/github-script-9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 10, 2026

Bumps actions/github-script from 8 to 9.

Release notes

Sourced from actions/github-script's releases.

v9.0.0

New features:

  • getOctokit factory function — Available directly in the script context. Create additional authenticated Octokit clients with different tokens for multi-token workflows, GitHub App tokens, and cross-org access. See Creating additional clients with getOctokit for details and examples.
  • Orchestration ID in user-agent — The ACTIONS_ORCHESTRATION_ID environment variable is automatically appended to the user-agent string for request tracing.

Breaking changes:

  • require('@actions/github') no longer works in scripts. The upgrade to @actions/github v9 (ESM-only) means require('@actions/github') will fail at runtime. If you previously used patterns like const { getOctokit } = require('@actions/github') to create secondary clients, use the new injected getOctokit function instead — it's available directly in the script context with no imports needed.
  • getOctokit is now an injected function parameter. Scripts that declare const getOctokit = ... or let getOctokit = ... will get a SyntaxError because JavaScript does not allow const/let redeclaration of function parameters. Use the injected getOctokit directly, or use var getOctokit = ... if you need to redeclare it.
  • If your script accesses other @actions/github internals beyond the standard github/octokit client, you may need to update those references for v9 compatibility.

What's Changed

New Contributors

Full Changelog: actions/github-script@v8.0.0...v9.0.0

Commits
  • 3a2844b Merge pull request #700 from actions/salmanmkc/expose-getoctokit + prepare re...
  • ca10bbd fix: use @​octokit/core/types import for v7 compatibility
  • 86e48e2 merge: incorporate main branch changes
  • c108472 chore: rebuild dist for v9 upgrade and getOctokit factory
  • afff112 Merge pull request #712 from actions/salmanmkc/deployment-false + fix user-ag...
  • ff8117e ci: fix user-agent test to handle orchestration ID
  • 81c6b78 ci: use deployment: false to suppress deployment noise from integration tests
  • 3953caf docs: update README examples from @​v8 to @​v9, add getOctokit docs and v9 brea...
  • c17d55b ci: add getOctokit integration test job
  • a047196 test: add getOctokit integration tests via callAsyncFunction
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/github-script](https://github.com/actions/github-script) from 8 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v8...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 10, 2026
@dependabot dependabot Bot requested a review from MDr164 as a code owner April 10, 2026 00:12
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 10, 2026
@dependabot dependabot Bot requested a review from AtomicFS as a code owner April 10, 2026 00:12
@dependabot dependabot Bot added the github_actions Pull requests that update GitHub Actions code label Apr 10, 2026
@AtomicFS AtomicFS enabled auto-merge April 10, 2026 00:13
@github-actions
Copy link
Copy Markdown

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 15 0 0 0.42s
✅ BASH bash-exec 10 0 0 0.06s
✅ BASH shellcheck 9 0 0 0.13s
✅ BASH shfmt 9 0 0 0.0s
✅ DOCKERFILE hadolint 5 0 0 0.28s
✅ EDITORCONFIG editorconfig-checker 227 0 0 0.3s
✅ GO revive 31 0 0 33.91s
✅ JSON jsonlint 14 0 0 0.15s
✅ JSON prettier 14 0 0 1.03s
✅ JSON v8r 14 0 0 5.18s
✅ MARKDOWN markdownlint 32 0 0 1.1s
⚠️ PYTHON black 20 1 0 1.5s
✅ PYTHON flake8 20 0 0 0.87s
✅ PYTHON isort 20 0 0 2.39s
✅ PYTHON mypy 20 0 0 9.36s
✅ PYTHON pylint 20 0 0 10.83s
✅ PYTHON pyright 20 0 0 1.01s
✅ PYTHON ruff 20 0 0 0.14s
✅ REPOSITORY checkov yes no no 24.06s
✅ REPOSITORY gitleaks yes no no 6.09s
✅ REPOSITORY git_diff yes no no 0.02s
✅ REPOSITORY grype yes no no 75.44s
✅ REPOSITORY secretlint yes no no 1.44s
✅ REPOSITORY syft yes no no 16.2s
✅ REPOSITORY trivy yes no no 15.91s
✅ REPOSITORY trivy-sbom yes no no 3.82s
✅ REPOSITORY trufflehog yes no no 8.57s
✅ SPELL cspell 227 0 0 5.17s
⚠️ YAML prettier 35 1 2 3.76s
✅ YAML v8r 35 0 0 14.38s
✅ YAML yamllint 35 0 0 12.5s

Detailed Issues

⚠️ PYTHON / black - 1 error
--- .dagger-ci/daggerci/lib/cli.py	2026-04-10 00:14:31.400273+00:00
+++ .dagger-ci/daggerci/lib/cli.py	2026-04-10 00:15:14.498503+00:00
@@ -32,17 +32,15 @@
         action="store_true",
     )
     parser.add_argument(
         "-d",
         "--dockerfile",
-        help=textwrap.dedent(
-            """\
+        help=textwrap.dedent("""\
                 select which dockerfile to build
                 - enter name from docker-compose
                 - multiple entries are possible
-                - by default tries to build all"""
-        ),
+                - by default tries to build all"""),
         nargs="+",
     )
     parser.add_argument(
         "-p",
         "--publish",
would reformat .dagger-ci/daggerci/lib/cli.py
--- .dagger-ci/daggerci/main.py	2026-04-10 00:14:31.400273+00:00
+++ .dagger-ci/daggerci/main.py	2026-04-10 00:15:14.633082+00:00
@@ -1,9 +1,10 @@
 #!/usr/bin/python
 """
 Python script to build and test Docker containers for coreboot and EDK2 compilation
 """
+
 # mypy: disable-error-code="import"
 
 # Logging
 # https://docs.python.org/3/howto/logging.html
 # DEBUG, INFO, WARNING, ERROR, CRITICAL
would reformat .dagger-ci/daggerci/main.py
--- .dagger-ci/daggerci/tests/conftest.py	2026-04-10 00:14:31.400273+00:00
+++ .dagger-ci/daggerci/tests/conftest.py	2026-04-10 00:15:14.832038+00:00
@@ -88,63 +88,55 @@
 @pytest.fixture(name="dockerfile")
 def fixture_dockerfile():
     """
     Generic Dockerfile content
     """
-    return textwrap.dedent(
-        """\
+    return textwrap.dedent("""\
         FROM ubuntu:22.04 AS base
         ARG TARGETARCH=amd64\
-        """
-    )
+        """)
 
 
 @pytest.fixture
 def dockerfile_dummy_tests_success():
     """
     Dockerfile content specifically for executing tests inside docker
     """
-    return textwrap.dedent(
-        """\
+    return textwrap.dedent("""\
         FROM ubuntu:22.04 AS base
         ARG TARGETARCH=amd64
         ARG CONTEXT=dummy
         ARG VARIANT=success
         ENV VERIFICATION_TEST=./tests/test_${CONTEXT}_${VARIANT}.sh
         RUN echo 'hello world'\
-        """
-    )
+        """)
 
 
 @pytest.fixture
 def dockerfile_dummy_tests_fail():
     """
     Dockerfile content specifically for executing tests inside docker
     """
-    return textwrap.dedent(
-        """\
+    return textwrap.dedent("""\
         FROM ubuntu:22.04 AS base
         ARG TARGETARCH=amd64
         ARG CONTEXT=dummy
         ARG VARIANT=fail
         ENV VERIFICATION_TEST=./tests/test_${CONTEXT}_${VARIANT}.sh
         RUN echo 'hello world'\
-        """
-    )
+        """)
 
 
 @pytest.fixture
 def dockerfile_broken():
     """
     Dockerfile content which should fail to build
     """
-    return textwrap.dedent(
-        """\
+    return textwrap.dedent("""\
         FROM ubuntu:22.04 AS base
         RUN false\
-        """
-    )
+        """)
 
 
 # ===========================
 #
 #  Docker Compose fixtures
would reformat .dagger-ci/daggerci/tests/conftest.py

Oh no! 💥 💔 💥
3 files would be reformatted, 17 files would be left unchanged.
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/workflows/go-test.yml
[warn] Code style issues found in the above file. Run Prettier with --write to fix.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_MYPY,PYTHON_PYRIGHT,PYTHON_RUFF,ACTION_ACTIONLINT,BASH_EXEC,BASH_SHELLCHECK,BASH_SHFMT,DOCKERFILE_HADOLINT,EDITORCONFIG_EDITORCONFIG_CHECKER,GO_REVIVE,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@AtomicFS AtomicFS added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit a34b6cf Apr 10, 2026
57 checks passed
@AtomicFS AtomicFS deleted the dependabot/github_actions/actions/github-script-9 branch April 10, 2026 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant