diff --git a/.github/workflows/check-qa-validation.yml b/.github/workflows/check-qa-validation.yml index 6c453c69d5..92b15dc9db 100644 --- a/.github/workflows/check-qa-validation.yml +++ b/.github/workflows/check-qa-validation.yml @@ -35,7 +35,7 @@ jobs: uses: ./.github/actions/get-pr-labels - name: Check if PR has been approved by QA - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: has-qa-approved-label env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check-status.yml b/.github/workflows/check-status.yml index 76d3d5f72b..21961b5dc9 100644 --- a/.github/workflows/check-status.yml +++ b/.github/workflows/check-status.yml @@ -31,7 +31,7 @@ jobs: echo "" echo "" - - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.number }} @@ -126,7 +126,7 @@ jobs: steps: - name: Check if the PR is a cherry-pick from dev branch - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | let linkedPrs = []; diff --git a/.github/workflows/cypress-e2e-parallelization.yml b/.github/workflows/cypress-e2e-parallelization.yml index afdec00f84..6801bd6e4f 100644 --- a/.github/workflows/cypress-e2e-parallelization.yml +++ b/.github/workflows/cypress-e2e-parallelization.yml @@ -314,7 +314,7 @@ jobs: format: cypress - name: Display retries summary - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const fs = require('fs'); diff --git a/.github/workflows/get-environment.yml b/.github/workflows/get-environment.yml index 9443325e09..4ad34512b1 100644 --- a/.github/workflows/get-environment.yml +++ b/.github/workflows/get-environment.yml @@ -77,7 +77,7 @@ jobs: steps: - name: Check if PR has skip label id: has_skip_label - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | let hasSkipLabel = false; @@ -121,7 +121,7 @@ jobs: - if: ${{ steps.has_skip_label.outputs.result == 'true' }} name: Get workflow triggered paths id: get_workflow_triggered_paths - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const fs = require('fs'); @@ -183,7 +183,7 @@ jobs: - name: Check if current workflow should be skipped id: skip_workflow - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | if (/^bump-.+/.test('${{ github.head_ref || github.ref_name }}')) { @@ -224,7 +224,7 @@ jobs: - if: ${{ contains(fromJSON('["pull_request"]') , github.event_name) }} name: Get nested pull request path id: pr_path - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const prPath = ['${{ github.head_ref }}', '${{ github.base_ref }}']; @@ -251,7 +251,7 @@ jobs: - name: Get stability id: get_stability - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const ref = process.env.GITHUB_HEAD_REF || process.env.GITHUB_REF_NAME; @@ -422,7 +422,7 @@ jobs: - name: "Detect cloud version" id: detect_cloud_version - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const { owner, repo } = context.repo; @@ -569,7 +569,7 @@ jobs: - name: Detect linked dev and stable branches id: linked_branches - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | let linkedDevBranch = 'develop'; @@ -582,7 +582,7 @@ jobs: core.setOutput('linked_stable_branch', linkedStableBranch); - name: Detect nightly status - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: get_nightly_status env: NIGHTLY_MANUAL_TRIGGER: ${{ inputs.nightly_manual_trigger }} @@ -602,7 +602,7 @@ jobs: core.setOutput('is_nightly', getNightlyInput()); - name: Detect operating systems and databases to test - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: get_os_database_matrix with: script: | @@ -649,7 +649,7 @@ jobs: return matrix; # - name: Check run - # uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + # uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 # with: # script: | # // This is not needed as tag triggers only the workflow of the reference @@ -675,7 +675,7 @@ jobs: # core.setOutput('message', message); - name: Display info in job summary - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const outputTable = [ diff --git a/.github/workflows/set-pull-request-external-label.yml b/.github/workflows/set-pull-request-external-label.yml index 904711950f..fa352dacde 100644 --- a/.github/workflows/set-pull-request-external-label.yml +++ b/.github/workflows/set-pull-request-external-label.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Set PR external label - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const label = 'external'; diff --git a/.github/workflows/set-pull-request-skip-label.yml b/.github/workflows/set-pull-request-skip-label.yml index 6bf5ec1a34..0f2d678056 100644 --- a/.github/workflows/set-pull-request-skip-label.yml +++ b/.github/workflows/set-pull-request-skip-label.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Set PR skip label - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const label = '${{ format('skip-workflow-{0}', github.workflow) }}';