From faabd02b919ca3ad5bed5fa65568c0be568169a8 Mon Sep 17 00:00:00 2001 From: devthejo Date: Tue, 12 Nov 2024 14:04:08 +0100 Subject: [PATCH] fix: up gh actions --- .github/workflows/use-ks-gh-custom-production.yaml | 2 +- .github/workflows/use-ks-gh-custom.yaml | 2 +- .github/workflows/use-ks-gh-deactivate.yaml | 2 +- .github/workflows/use-ks-gh-manual.yaml | 2 +- .github/workflows/use-ks-gh-preproduction.yaml | 2 +- .github/workflows/use-ks-gh-production.yaml | 2 +- .github/workflows/use-ks-gh-review-auto.yaml | 2 +- .github/workflows/use-ks-gh-review.yaml | 2 +- .github/workflows/use-ks-gh-with-env-deactivate.yaml | 2 +- .github/workflows/use-ks-gh-with-env-preproduction.yaml | 2 +- .github/workflows/use-ks-gh-with-env-production.yaml | 2 +- .github/workflows/use-ks-gh-with-env-review-auto.yaml | 2 +- .github/workflows/use-ks-gh-with-env-review.yaml | 2 +- .github/workflows/workflows-repository.build-images.yml | 4 ++-- .../workflows-repository.sync-major-version-branch.yml | 2 +- actions/build-image/action.yaml | 2 +- actions/debug-manifests/action.yaml | 2 +- actions/semantic-release/action.yaml | 2 +- actions/trivy-scan-image/action.yaml | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/use-ks-gh-custom-production.yaml b/.github/workflows/use-ks-gh-custom-production.yaml index b47ee2a..8b13a0c 100644 --- a/.github/workflows/use-ks-gh-custom-production.yaml +++ b/.github/workflows/use-ks-gh-custom-production.yaml @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1 with: diff --git a/.github/workflows/use-ks-gh-custom.yaml b/.github/workflows/use-ks-gh-custom.yaml index db212f7..d15f7a6 100644 --- a/.github/workflows/use-ks-gh-custom.yaml +++ b/.github/workflows/use-ks-gh-custom.yaml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1 with: diff --git a/.github/workflows/use-ks-gh-deactivate.yaml b/.github/workflows/use-ks-gh-deactivate.yaml index 1c7b135..c196169 100644 --- a/.github/workflows/use-ks-gh-deactivate.yaml +++ b/.github/workflows/use-ks-gh-deactivate.yaml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1 id: deployment diff --git a/.github/workflows/use-ks-gh-manual.yaml b/.github/workflows/use-ks-gh-manual.yaml index 8fef0e3..22c779f 100644 --- a/.github/workflows/use-ks-gh-manual.yaml +++ b/.github/workflows/use-ks-gh-manual.yaml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1 with: diff --git a/.github/workflows/use-ks-gh-preproduction.yaml b/.github/workflows/use-ks-gh-preproduction.yaml index fa8a207..40424bc 100644 --- a/.github/workflows/use-ks-gh-preproduction.yaml +++ b/.github/workflows/use-ks-gh-preproduction.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-production.yaml b/.github/workflows/use-ks-gh-production.yaml index 8a0d1f0..6c02c80 100644 --- a/.github/workflows/use-ks-gh-production.yaml +++ b/.github/workflows/use-ks-gh-production.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-review-auto.yaml b/.github/workflows/use-ks-gh-review-auto.yaml index aedcd2f..41eff8d 100644 --- a/.github/workflows/use-ks-gh-review-auto.yaml +++ b/.github/workflows/use-ks-gh-review-auto.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-review.yaml b/.github/workflows/use-ks-gh-review.yaml index 614fbd9..3abcf3f 100644 --- a/.github/workflows/use-ks-gh-review.yaml +++ b/.github/workflows/use-ks-gh-review.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-with-env-deactivate.yaml b/.github/workflows/use-ks-gh-with-env-deactivate.yaml index 1c7b135..c196169 100644 --- a/.github/workflows/use-ks-gh-with-env-deactivate.yaml +++ b/.github/workflows/use-ks-gh-with-env-deactivate.yaml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/kontinuous/.github/actions/deploy-via-github@v1 id: deployment diff --git a/.github/workflows/use-ks-gh-with-env-preproduction.yaml b/.github/workflows/use-ks-gh-with-env-preproduction.yaml index c04dc5f..b00a13a 100644 --- a/.github/workflows/use-ks-gh-with-env-preproduction.yaml +++ b/.github/workflows/use-ks-gh-with-env-preproduction.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-with-env-production.yaml b/.github/workflows/use-ks-gh-with-env-production.yaml index ad0bcc8..718dc06 100644 --- a/.github/workflows/use-ks-gh-with-env-production.yaml +++ b/.github/workflows/use-ks-gh-with-env-production.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-with-env-review-auto.yaml b/.github/workflows/use-ks-gh-with-env-review-auto.yaml index 9a94389..7fdbc20 100644 --- a/.github/workflows/use-ks-gh-with-env-review-auto.yaml +++ b/.github/workflows/use-ks-gh-with-env-review-auto.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/use-ks-gh-with-env-review.yaml b/.github/workflows/use-ks-gh-with-env-review.yaml index 7759f97..5f6ebb9 100644 --- a/.github/workflows/use-ks-gh-with-env-review.yaml +++ b/.github/workflows/use-ks-gh-with-env-review.yaml @@ -24,7 +24,7 @@ jobs: manifests-images: ${{ steps.deployment-ending.outputs.manifests-images }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: socialgouv/workflows/actions/deployment-starting@v1 id: deployment-starting diff --git a/.github/workflows/workflows-repository.build-images.yml b/.github/workflows/workflows-repository.build-images.yml index bcbf8a6..92c55ae 100644 --- a/.github/workflows/workflows-repository.build-images.yml +++ b/.github/workflows/workflows-repository.build-images.yml @@ -27,7 +27,7 @@ jobs: context: actions steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build image uses: ./actions/workflows-build-images with: @@ -51,7 +51,7 @@ jobs: context: actions/debug-manifests/output steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build image uses: ./actions/workflows-build-images with: diff --git a/.github/workflows/workflows-repository.sync-major-version-branch.yml b/.github/workflows/workflows-repository.sync-major-version-branch.yml index 926fa91..8115d66 100644 --- a/.github/workflows/workflows-repository.sync-major-version-branch.yml +++ b/.github/workflows/workflows-repository.sync-major-version-branch.yml @@ -21,7 +21,7 @@ jobs: echo "major-version=$MAJOR_VERSION" >> $GITHUB_OUTPUT - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }} diff --git a/actions/build-image/action.yaml b/actions/build-image/action.yaml index 90c4034..1846cb0 100644 --- a/actions/build-image/action.yaml +++ b/actions/build-image/action.yaml @@ -27,7 +27,7 @@ runs: using: "composite" steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get variables id: variables diff --git a/actions/debug-manifests/action.yaml b/actions/debug-manifests/action.yaml index d89d1f8..7f53ea1 100644 --- a/actions/debug-manifests/action.yaml +++ b/actions/debug-manifests/action.yaml @@ -24,7 +24,7 @@ runs: using: "composite" steps: - name: Archive manifest - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.name }} path: ${{ inputs.path }} diff --git a/actions/semantic-release/action.yaml b/actions/semantic-release/action.yaml index 85c9581..1be7663 100644 --- a/actions/semantic-release/action.yaml +++ b/actions/semantic-release/action.yaml @@ -17,7 +17,7 @@ runs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false diff --git a/actions/trivy-scan-image/action.yaml b/actions/trivy-scan-image/action.yaml index 4f86bc5..e70da0c 100644 --- a/actions/trivy-scan-image/action.yaml +++ b/actions/trivy-scan-image/action.yaml @@ -35,7 +35,7 @@ runs: output: 'trivy-results.sarif' limit-severities-for-sarif: "true" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "trivy-${{ hashFiles('trivy-results.sarif') }}" path: trivy-results.sarif