From fbc50c50bfbc332f5878fa2d2048083fe79da2d5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 03:15:44 +0000 Subject: [PATCH] [Dependencies]: Bump actions/github-script from 6.4.1 to 7.0.0 Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.1 to 7.0.0. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6.4.1...v7.0.0) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-and-publish-pre-release.yml | 2 +- .github/workflows/build-and-publish-release.yml | 2 +- .github/workflows/pr-lint.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-publish-pre-release.yml b/.github/workflows/build-and-publish-pre-release.yml index 4e431b89..e3c08291 100644 --- a/.github/workflows/build-and-publish-pre-release.yml +++ b/.github/workflows/build-and-publish-pre-release.yml @@ -98,7 +98,7 @@ jobs: CREATE_RELEASE: false - name: "Build Version" - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | core.info('Version: \u001b[38;5;6m${{env.BUILD_VERSION}}'); diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index a747ab9d..50d78d5d 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -87,7 +87,7 @@ jobs: CREATE_RELEASE: true - name: "Build Version" - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | core.info('Version: \u001b[38;5;6m${{env.BUILD_VERSION}}'); diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 472d6279..862b4c78 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -66,7 +66,7 @@ jobs: shell: bash run: echo "CHANGES=$(git diff --exit-code --no-patch --merge-base origin/main CHANGELOG.md 2> /dev/null && echo 0 || echo $?)" >> "$GITHUB_ENV" - if: (github.actor != 'dependabot[bot]' && !endsWith(github.repository , '-template')) && env.CHANGES == '0' - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | core.setFailed('Changelog has not changed')