diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index e79becf41..743526a8d 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -27,7 +27,7 @@ jobs: pull-requests: read steps: - name: Add notice - uses: actions/github-script@v6 + uses: actions/github-script@v7 if: contains(github.event.pull_request.labels.*.name, 'X-Blocked') with: script: | @@ -49,7 +49,7 @@ jobs: - name: Add label if: ${{ steps.teams.outputs.isTeamMember == 'false' }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | github.rest.issues.addLabels({ @@ -68,7 +68,7 @@ jobs: github.event.pull_request.head.repo.full_name != github.repository steps: - name: Close pull request - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index add8be839..bea7e9c29 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -106,7 +106,7 @@ jobs: run: echo "VERSION=$(echo $VERSION | cut -d- -f1)" >> $GITHUB_ENV - name: Check version number not in use - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { VERSION } = process.env; @@ -186,7 +186,7 @@ jobs: inputs.dependencies && inputs.include-changes && contains(fromJSON(steps.update-dependencies.outputs.updated), inputs.include-changes) - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: RELEASE_ID: ${{ steps.release.outputs.id }} DEPENDENCY: ${{ inputs.include-changes }} @@ -272,7 +272,7 @@ jobs: - name: Validate release has expected assets if: inputs.expected-asset-count - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: RELEASE_ID: ${{ steps.release.outputs.id }} EXPECTED_ASSET_COUNT: ${{ inputs.expected-asset-count }} @@ -300,7 +300,7 @@ jobs: git push origin master - name: Publish release - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: RELEASE_ID: ${{ steps.release.outputs.id }} FINAL: ${{ inputs.final }}