[ci] Bump actions

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2023-01-30 10:52:01 +00:00 committed by Jiri Pechanec
parent c52ffe2fcd
commit 8136c6a3e1
6 changed files with 45 additions and 45 deletions

View File

@ -36,14 +36,14 @@ jobs:
done < AUTHOR_NAME.txt done < AUTHOR_NAME.txt
- name: Create comment - name: Create comment
if: ${{ steps.check.outputs.USER_NOT_FOUND == 'true' }} 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: with:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
body: | 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. 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 - name: Check failure
if: ${{ steps.check.outputs.USER_NOT_FOUND == 'true' }} if: ${{ steps.check.outputs.USER_NOT_FOUND == 'true' }}
uses: actions/github-script@v5 uses: actions/github-script@v6
continue-on-error: false continue-on-error: false
with: with:
script: | script: |

View File

@ -205,14 +205,14 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
id: maven-cache-check id: maven-cache-check
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -253,14 +253,14 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
id: maven-cache-check id: maven-cache-check
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -295,13 +295,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -329,13 +329,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -365,13 +365,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -398,13 +398,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -434,13 +434,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -467,13 +467,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -508,13 +508,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -541,13 +541,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -573,13 +573,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -605,13 +605,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }}
@ -638,13 +638,13 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('**/pom.xml') }} 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 # 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. # job will only ever fire if there are changes in the common paths identified in the files_changed job.
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }}
@ -689,7 +689,7 @@ jobs:
maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }}
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
@ -735,7 +735,7 @@ jobs:
path: db2 path: db2
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 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 # 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. # job will only ever fire if there are changes in the common paths identified in the files_changed job.
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }}
@ -792,7 +792,7 @@ jobs:
path: vitess path: vitess
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 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 # 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. # job will only ever fire if there are changes in the common paths identified in the files_changed job.
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }}
@ -849,7 +849,7 @@ jobs:
path: spanner path: spanner
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 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 # 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. # job will only ever fire if there are changes in the common paths identified in the files_changed job.
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }}
@ -901,13 +901,13 @@ jobs:
path: debezium-ui path: debezium-ui
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }} key: maven-debezium-test-build-${{ hashFiles('core/**/pom.xml') }}

View File

@ -27,7 +27,7 @@ jobs:
done < SORTED_AUTHORS.txt done < SORTED_AUTHORS.txt
- name: Create comment - name: Create comment
if: ${{ steps.octocat.outputs.OCTOCAT_COMMIT_FOUND == 'true' }} 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: with:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
body: | 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). 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 - name: Check failure
if: ${{ steps.check.outputs.OCTOCAT_COMMIT_FOUND == 'true' }} if: ${{ steps.check.outputs.OCTOCAT_COMMIT_FOUND == 'true' }}
uses: actions/github-script@v5 uses: actions/github-script@v6
continue-on-error: false continue-on-error: false
with: with:
script: | script: |

View File

@ -33,7 +33,7 @@ jobs:
shell: bash shell: bash
- name: Set up Java 17 - name: Set up Java 17
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
@ -41,7 +41,7 @@ jobs:
# This workflow uses its own dependency cache rather than the main debezium workflow cache because # 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. # we explicitly want to trigger this build on pushes separate from the other workflow.
- name: Cache Maven Repository - name: Cache Maven Repository
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.m2/repository path: ~/.m2/repository
# refresh cache every month to avoid unlimited growth # refresh cache every month to avoid unlimited growth

View File

@ -40,14 +40,14 @@ jobs:
fi fi
- name: Create Comment - name: Create Comment
if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }} if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }}
uses: peter-evans/create-or-update-comment@v1 uses: peter-evans/create-or-update-comment@v2
with: with:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
body: | 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). 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 - name: Check failure
if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }} if: ${{ steps.check.outputs.PREFIX_COMMITS == 'false' }}
uses: actions/github-script@v5 uses: actions/github-script@v6
continue-on-error: false continue-on-error: false
with: with:
script: | script: |

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Repository Dispatch - name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1 uses: peter-evans/repository-dispatch@v2
with: with:
token: ${{ secrets.PUBLISH_GH_TOKEN}} token: ${{ secrets.PUBLISH_GH_TOKEN}}
repository: debezium/debezium.github.io repository: debezium/debezium.github.io