diff --git a/.github/workflows/release_candidate.yml b/.github/workflows/release_candidate.yml index a85463b1c8..d3da750936 100644 --- a/.github/workflows/release_candidate.yml +++ b/.github/workflows/release_candidate.yml @@ -43,7 +43,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Output candidate version number - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const package = require(`${process.env.GITHUB_WORKSPACE}/package.json`) diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 47008088a7..8b2fbc2e2c 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -17,7 +17,7 @@ jobs: cache: 'npm' - name: Get or Create Comment - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -87,7 +87,7 @@ jobs: name: Semantic Version Label runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 id: version-result with: github-token: "${{ secrets.GITHUB_TOKEN }}" @@ -100,7 +100,7 @@ jobs: return match[0][1] } - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 env: RELEASE: ${{ steps.version-result.outputs.result }} with: