From 5cf11b0d9358e48f677f3c50a8f918e85ce7cfe1 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 10 Jul 2024 17:56:18 +0000 Subject: [PATCH] Update actions/github-script action to v7 --- .github/workflows/auto-close-pr.yml | 4 ++-- .github/workflows/issue_projects_labeler.yml | 2 +- .github/workflows/label-templated-discussions.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-close-pr.yml b/.github/workflows/auto-close-pr.yml index 2a7f8aa..07f9a6b 100644 --- a/.github/workflows/auto-close-pr.yml +++ b/.github/workflows/auto-close-pr.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check if employee id: check_employee - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.READ_KHULNASOFT_ORG_MEMBERS_TOKEN }} result-encoding: string @@ -36,7 +36,7 @@ jobs: - name: Close PR id: close_pr if: ${{ steps.check_employee.outputs.result == 'false' }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/issue_projects_labeler.yml b/.github/workflows/issue_projects_labeler.yml index 50ad4e8..787453c 100644 --- a/.github/workflows/issue_projects_labeler.yml +++ b/.github/workflows/issue_projects_labeler.yml @@ -34,7 +34,7 @@ jobs: - name: Get selected topic id: get_selected_topic - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | diff --git a/.github/workflows/label-templated-discussions.yml b/.github/workflows/label-templated-discussions.yml index 6d1ac4a..96dca34 100644 --- a/.github/workflows/label-templated-discussions.yml +++ b/.github/workflows/label-templated-discussions.yml @@ -34,7 +34,7 @@ jobs: - name: Get selected topic id: get_selected_topic - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: |