git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] GitHub Actions: update to github-script@v7

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 2, 2024, 20:39 UTC
Message-ID
<20240202203935.1240458-3-gitster@pobox.com>
In-Reply-To
<20240202203935.1240458-1-gitster@pobox.com>

We seem to be getting "Node.js 16 actions are deprecated." warnings for jobs that use github-script@v6. Update to github-script@v7, which is said to use Node.js 20.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 .github/workflows/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 90973f9693..bb857bdaf0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -63,7 +63,7 @@ jobs:
           echo "skip_concurrent=$skip_concurrent" >>$GITHUB_OUTPUT
       - name: skip if the commit or tree was already tested
         id: skip-if-redundant
-        uses: actions/github-script@v6
+        uses: actions/github-script@v7
         if: steps.check-ref.outputs.enabled == 'yes'
         with:
           github-token: ${{secrets.GITHUB_TOKEN}}
-- 
2.43.0-522-g2a540e432f
Previous: Junio C HamanoNext: Óscar Domínguez Celada
Message 3 of 5 in “GitHub Actions update”
  1. 0/2 GitHub Actions updateJunio C Hamano, Feb 2, 2024
  2. 1/2 GitHub Actions: update to checkout@v4Junio C Hamano, Feb 2, 2024
  3. 2/2 GitHub Actions: update to github-script@v7Junio C Hamano, Feb 2, 2024
  4. Óscar Domínguez CeladaFeb 3, 2024
  5. Junio C HamanoFeb 3, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.