diff --git a/.github/workflows/as400.yml b/.github/workflows/as400.yml index 2cffb7a75f..9c0b30fe23 100644 --- a/.github/workflows/as400.yml +++ b/.github/workflows/as400.yml @@ -222,7 +222,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/centreon-plugins-sudoers.yml b/.github/workflows/centreon-plugins-sudoers.yml index ec49257efc..3759d27ef8 100644 --- a/.github/workflows/centreon-plugins-sudoers.yml +++ b/.github/workflows/centreon-plugins-sudoers.yml @@ -181,7 +181,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/check-status.yml b/.github/workflows/check-status.yml index c4fbe9ebfe..85a6144379 100644 --- a/.github/workflows/check-status.yml +++ b/.github/workflows/check-status.yml @@ -37,7 +37,7 @@ jobs: ' - name: Check workflow run statuses - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }} @@ -220,7 +220,7 @@ jobs: steps: - name: Check if the PR is a cherry-pick from dev branch - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: LINKED_DEV_BRANCH: develop with: diff --git a/.github/workflows/connector-vmware.yml b/.github/workflows/connector-vmware.yml index 9db1cf31d6..5165851f6e 100644 --- a/.github/workflows/connector-vmware.yml +++ b/.github/workflows/connector-vmware.yml @@ -190,7 +190,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/generic-plugins.yml b/.github/workflows/generic-plugins.yml index 80a8813d51..d11837f3fe 100644 --- a/.github/workflows/generic-plugins.yml +++ b/.github/workflows/generic-plugins.yml @@ -430,7 +430,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/get-environment.yml b/.github/workflows/get-environment.yml index a6da184702..e030cc7f24 100644 --- a/.github/workflows/get-environment.yml +++ b/.github/workflows/get-environment.yml @@ -53,7 +53,7 @@ jobs: steps: - name: Check if PR has skip label id: has_skip_label - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | let hasSkipLabel = false; @@ -89,7 +89,7 @@ jobs: - if: ${{ steps.has_skip_label.outputs.result == 'true' }} name: Get workflow triggered paths id: get_workflow_triggered_paths - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const fs = require('fs'); @@ -151,7 +151,7 @@ jobs: - name: Check if current workflow should be skipped id: skip_workflow - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} with: @@ -187,7 +187,7 @@ jobs: - if: ${{ github.event_name == 'pull_request' }} name: Get nested pull request path id: pr_path - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const prPath = ['${{ github.head_ref }}', '${{ github.base_ref }}']; @@ -214,7 +214,7 @@ jobs: - name: Get stability id: get_stability - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const getStability = (branchName) => { @@ -259,7 +259,7 @@ jobs: core.setOutput('is_targeting_feature_branch', isTargetingFeatureBranch); - name: Detect nightly status - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 id: get_nightly_status env: NIGHTLY_MANUAL_TRIGGER: ${{ inputs.nightly_manual_trigger }} @@ -280,7 +280,7 @@ jobs: - name: Get version id: get_version - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const { execSync } = require('child_process'); @@ -342,7 +342,7 @@ jobs: - name: "Get release: 1 for testing / stable, for others" id: get_release - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | let release = ''; @@ -367,7 +367,7 @@ jobs: shell: bash - name: Display info in job summary - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const outputTable = [ diff --git a/.github/workflows/nrpe.yml b/.github/workflows/nrpe.yml index 6f203bee1a..254bbcab97 100644 --- a/.github/workflows/nrpe.yml +++ b/.github/workflows/nrpe.yml @@ -231,7 +231,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/perl-cpan-libraries.yml b/.github/workflows/perl-cpan-libraries.yml index 282f25da81..650bcd48b4 100644 --- a/.github/workflows/perl-cpan-libraries.yml +++ b/.github/workflows/perl-cpan-libraries.yml @@ -605,7 +605,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/perl-filesys-smbclient.yml b/.github/workflows/perl-filesys-smbclient.yml index c8aee2a288..f0ea6a7add 100644 --- a/.github/workflows/perl-filesys-smbclient.yml +++ b/.github/workflows/perl-filesys-smbclient.yml @@ -261,7 +261,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/perl-keepass-reader.yml b/.github/workflows/perl-keepass-reader.yml index 6928560cba..456ec53912 100644 --- a/.github/workflows/perl-keepass-reader.yml +++ b/.github/workflows/perl-keepass-reader.yml @@ -226,7 +226,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/perl-openwsman.yml b/.github/workflows/perl-openwsman.yml index 952f6b25bd..88ff7ab7f3 100644 --- a/.github/workflows/perl-openwsman.yml +++ b/.github/workflows/perl-openwsman.yml @@ -363,7 +363,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/plink.yml b/.github/workflows/plink.yml index f027ae2f64..44f2165ec6 100644 --- a/.github/workflows/plink.yml +++ b/.github/workflows/plink.yml @@ -189,7 +189,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/plugins-selinux.yml b/.github/workflows/plugins-selinux.yml index 2499d127ee..241d6f5ac2 100644 --- a/.github/workflows/plugins-selinux.yml +++ b/.github/workflows/plugins-selinux.yml @@ -151,7 +151,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index 9c16afceba..004099d3cb 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -537,7 +537,7 @@ jobs: - name: Get release type if: ${{ needs.get-environment.outputs.stability == 'stable' }} id: get_release_type - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commitSha = context.sha; diff --git a/.github/workflows/set-pull-request-external-label.yml b/.github/workflows/set-pull-request-external-label.yml index d0316dd750..6a732d5f77 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@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.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 0f2d678056..1fa52e446f 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@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const label = '${{ format('skip-workflow-{0}', github.workflow) }}';