diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 8950ca3b..17ebbafd 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -50,7 +50,7 @@ jobs: echo "Saw Liquibase version ${{ steps.collect-data.outputs.liquibaseVersion }}" echo "Saw Extension version ${{ steps.collect-data.outputs.extensionVersion }}" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token ref: ${{ github.ref }} @@ -97,7 +97,7 @@ jobs: {dockerfile: Dockerfile.alpine, name: liquibase/liquibase, suffix: "-alpine"}, ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token ref: ${{ github.ref }} diff --git a/.github/workflows/release-automation.yml b/.github/workflows/release-automation.yml index 799805f1..b35688b7 100644 --- a/.github/workflows/release-automation.yml +++ b/.github/workflows/release-automation.yml @@ -24,7 +24,7 @@ jobs: # - steps.metadata.outputs.dependency-type # - steps.metadata.outputs.update-type - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: true diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 1101d04f..a2ff8bfb 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -27,7 +27,7 @@ jobs: runs-on: "ubuntu-20.04" steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build an image from Dockerfile run: |