From 8136c6a3e19e651d3118fd25aeb53d89f200b025 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jan 2023 10:52:01 +0000 Subject: [PATCH] [ci] Bump actions Signed-off-by: dependabot[bot] --- .github/workflows/contributor-check.yml | 4 +- .github/workflows/debezium-workflow.yml | 72 ++++++++++---------- .github/workflows/octocat-commits-check.yml | 4 +- .github/workflows/oracle-workflow-test.yml | 4 +- .github/workflows/sanity-check.yml | 4 +- .github/workflows/website-build-workflow.yml | 2 +- 6 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/contributor-check.yml b/.github/workflows/contributor-check.yml index bc76bc4ac..567485728 100644 --- a/.github/workflows/contributor-check.yml +++ b/.github/workflows/contributor-check.yml @@ -36,14 +36,14 @@ jobs: done < AUTHOR_NAME.txt - name: Create comment if: ${{ steps.check.outputs.USER_NOT_FOUND == 'true' }} - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@v2 with: issue-number: ${{ github.event.pull_request.number }} body: | Welcome as a new contributor to Debezium, @${{ github.event.pull_request.user.login }}. Reviewers, please add missing author name(s) and alias name(s) to the [COPYRIGHT.txt](https://github.com/debezium/debezium/blob/main/COPYRIGHT.txt) and [Aliases.txt](https://github.com/debezium/debezium/blob/main/jenkins-jobs/scripts/config/Aliases.txt) respectively. - name: Check failure if: ${{ steps.check.outputs.USER_NOT_FOUND == 'true' }} - uses: actions/github-script@v5 + uses: actions/github-script@v6 continue-on-error: false with: script: | diff --git a/.github/workflows/debezium-workflow.yml b/.github/workflows/debezium-workflow.yml index f8c089e84..54428e3a4 100644 --- a/.github/workflows/debezium-workflow.yml +++ b/.github/workflows/debezium-workflow.yml @@ -205,14 +205,14 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository id: maven-cache-check - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -253,14 +253,14 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository id: maven-cache-check - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -295,13 +295,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -329,13 +329,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -365,13 +365,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -398,13 +398,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -434,13 +434,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -467,13 +467,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -508,13 +508,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -541,13 +541,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -573,13 +573,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -605,13 +605,13 @@ jobs: uses: actions/checkout@v3 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -638,13 +638,13 @@ jobs: uses: actions/checkout@v2 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} @@ -681,7 +681,7 @@ jobs: # For this build, we do not care if there are or are not changes in the sibling repository since this # job will only ever fire if there are changes in the common paths identified in the files_changed job. - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} @@ -689,7 +689,7 @@ jobs: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 @@ -735,7 +735,7 @@ jobs: path: db2 - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 @@ -744,7 +744,7 @@ jobs: # For this build, we do not care if there are or are not changes in the sibling repository since this # job will only ever fire if there are changes in the common paths identified in the files_changed job. - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} @@ -792,7 +792,7 @@ jobs: path: vitess - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 @@ -801,7 +801,7 @@ jobs: # For this build, we do not care if there are or are not changes in the sibling repository since this # job will only ever fire if there are changes in the common paths identified in the files_changed job. - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} @@ -849,7 +849,7 @@ jobs: path: spanner - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 @@ -858,7 +858,7 @@ jobs: # For this build, we do not care if there are or are not changes in the sibling repository since this # job will only ever fire if there are changes in the common paths identified in the files_changed job. - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} @@ -901,13 +901,13 @@ jobs: path: debezium-ui - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} diff --git a/.github/workflows/octocat-commits-check.yml b/.github/workflows/octocat-commits-check.yml index 6843a6586..8aa4b1f9e 100644 --- a/.github/workflows/octocat-commits-check.yml +++ b/.github/workflows/octocat-commits-check.yml @@ -27,7 +27,7 @@ jobs: done < SORTED_AUTHORS.txt - name: Create comment if: ${{ steps.octocat.outputs.OCTOCAT_COMMIT_FOUND == 'true' }} - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@v2 with: issue-number: ${{ github.event.pull_request.number }} body: | @@ -35,7 +35,7 @@ jobs: Please author your commit(s) using an email [linked to your GitHub account](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile). - name: Check failure if: ${{ steps.check.outputs.OCTOCAT_COMMIT_FOUND == 'true' }} - uses: actions/github-script@v5 + uses: actions/github-script@v6 continue-on-error: false with: script: | diff --git a/.github/workflows/oracle-workflow-test.yml b/.github/workflows/oracle-workflow-test.yml index d0402eae4..55b0d8cd1 100644 --- a/.github/workflows/oracle-workflow-test.yml +++ b/.github/workflows/oracle-workflow-test.yml @@ -33,7 +33,7 @@ jobs: shell: bash - name: Set up Java 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: 17 @@ -41,7 +41,7 @@ jobs: # This workflow uses its own dependency cache rather than the main debezium workflow cache because # we explicitly want to trigger this build on pushes separate from the other workflow. - name: Cache Maven Repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository # refresh cache every month to avoid unlimited growth diff --git a/.github/workflows/sanity-check.yml b/.github/workflows/sanity-check.yml index c04590b1b..0bdaeeaf5 100644 --- a/.github/workflows/sanity-check.yml +++ b/.github/workflows/sanity-check.yml @@ -40,14 +40,14 @@ jobs: fi - name: Create Comment if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }} - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@v2 with: issue-number: ${{ github.event.pull_request.number }} body: | Hi @${{ github.event.pull_request.user.login }}, thanks for your contribution. Please prefix the commit message(s) with the [DBZ-xxx JIRA issue key](https://github.com/debezium/debezium/blob/main/CONTRIBUTE.md#making-changes). - name: Check failure if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }} - uses: actions/github-script@v5 + uses: actions/github-script@v6 continue-on-error: false with: script: | diff --git a/.github/workflows/website-build-workflow.yml b/.github/workflows/website-build-workflow.yml index 172608905..9d11ab707 100644 --- a/.github/workflows/website-build-workflow.yml +++ b/.github/workflows/website-build-workflow.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.PUBLISH_GH_TOKEN}} repository: debezium/debezium.github.io