diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 2932a268663..5604f02b698 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -24,7 +24,7 @@ jobs: - name: Compute image version id: image - uses: actions/github-script@v6 + uses: actions/github-script@v7.0.1 env: RUNNER_VERSION: ${{ github.event.inputs.runnerVersion }} with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4571b6cb8f..0de85a7b5ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: # Make sure ./releaseVersion match ./src/runnerversion # Query GitHub release ensure version is not used - name: Check version - uses: actions/github-script@0.3.0 + uses: actions/github-script@v7.0.1 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -172,7 +172,7 @@ jobs: # Create ReleaseNote file - name: Create ReleaseNote id: releaseNote - uses: actions/github-script@0.3.0 + uses: actions/github-script@v7.0.1 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -300,7 +300,7 @@ jobs: - name: Compute image version id: image - uses: actions/github-script@v6 + uses: actions/github-script@v7.0.1 with: script: | const fs = require('fs');