From 9864675a0bb74e79bef5cd4658d96cc00553c144 Mon Sep 17 00:00:00 2001
From: Mary Guillemard <mary@mary.zone>
Date: Mon, 11 Dec 2023 21:51:22 +0100
Subject: [PATCH] Revert "ci: bump actions/github-script from 6 to 7 (#5966)"

This reverts commit 0531c16326c8215bff1c0a98f3ed217f01065446.
---
 .github/workflows/nightly_pr_comment.yml | 2 +-
 .github/workflows/release.yml            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/nightly_pr_comment.yml b/.github/workflows/nightly_pr_comment.yml
index 2d0fa598b..f59a6be1f 100644
--- a/.github/workflows/nightly_pr_comment.yml
+++ b/.github/workflows/nightly_pr_comment.yml
@@ -11,7 +11,7 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: ${{ fromJSON(vars.JOB_TIMEOUT) }}
     steps:
-      - uses: actions/github-script@v7
+      - uses: actions/github-script@v6
         with:
           script: |
             const {owner, repo} = context.repo;
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1e4addb6e..7a4b13d7d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -34,7 +34,7 @@ jobs:
         shell: bash
 
       - name: Create tag
-        uses: actions/github-script@v7
+        uses: actions/github-script@v6
         with:
           script: |
             github.rest.git.createRef({