From e3eaa284bb86a3767bff7c601f74e8350b66f6f4 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 30 Sep 2024 13:08:26 +0000 Subject: [PATCH] Update actions/checkout action to v4 (forgejo) (#5427) Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5427 Reviewed-by: Michael Kriese Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- .forgejo/workflows/build-release-integration.yml | 2 +- .forgejo/workflows/build-release.yml | 2 +- .forgejo/workflows/publish-release.yml | 2 +- .../release-notes-assistant-milestones.yml | 2 +- .forgejo/workflows/release-notes-assistant.yml | 2 +- .forgejo/workflows/testing.yml | 16 ++++++++-------- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/build-release-integration.yml b/.forgejo/workflows/build-release-integration.yml index 610b8f0520..f5f0d19da3 100644 --- a/.forgejo/workflows/build-release-integration.yml +++ b/.forgejo/workflows/build-release-integration.yml @@ -25,7 +25,7 @@ jobs: if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} runs-on: self-hosted steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: forgejo uses: https://code.forgejo.org/actions/setup-forgejo@v1 diff --git a/.forgejo/workflows/build-release.yml b/.forgejo/workflows/build-release.yml index 7f5c4467cd..4b0262a8d0 100644 --- a/.forgejo/workflows/build-release.yml +++ b/.forgejo/workflows/build-release.yml @@ -27,7 +27,7 @@ jobs: # root is used for testing, allow it if: vars.ROLE == 'forgejo-integration' || github.repository_owner == 'root' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.forgejo/workflows/publish-release.yml b/.forgejo/workflows/publish-release.yml index 41c884c2d1..5de8785ee1 100644 --- a/.forgejo/workflows/publish-release.yml +++ b/.forgejo/workflows/publish-release.yml @@ -39,7 +39,7 @@ jobs: runs-on: self-hosted if: vars.DOER != '' && vars.FORGEJO != '' && vars.TO_OWNER != '' && vars.FROM_OWNER != '' && secrets.TOKEN != '' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: copy & sign uses: https://code.forgejo.org/forgejo/forgejo-build-publish/publish@v5 diff --git a/.forgejo/workflows/release-notes-assistant-milestones.yml b/.forgejo/workflows/release-notes-assistant-milestones.yml index fb7bba1d52..dfe9a33a3c 100644 --- a/.forgejo/workflows/release-notes-assistant-milestones.yml +++ b/.forgejo/workflows/release-notes-assistant-milestones.yml @@ -11,7 +11,7 @@ jobs: container: image: 'code.forgejo.org/oci/node:20-bookworm' steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: https://code.forgejo.org/actions/setup-go@v4 with: diff --git a/.forgejo/workflows/release-notes-assistant.yml b/.forgejo/workflows/release-notes-assistant.yml index dd67b4e203..3fed2d08d4 100644 --- a/.forgejo/workflows/release-notes-assistant.yml +++ b/.forgejo/workflows/release-notes-assistant.yml @@ -12,7 +12,7 @@ jobs: container: image: 'code.forgejo.org/oci/node:20-bookworm' steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - name: event run: | diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index 943c3a3c8b..56f2de5136 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -19,7 +19,7 @@ jobs: cat <<'EOF' ${{ toJSON(github) }} EOF - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - run: su forgejo -c 'make deps-backend deps-tools' - run: su forgejo -c 'make --always-make -j$(nproc) lint-backend tidy-check swagger-check fmt-check swagger-validate' # ensure the "go-licenses" make target runs @@ -30,7 +30,7 @@ jobs: container: image: 'code.forgejo.org/oci/node:20-bookworm' steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - run: make deps-frontend - run: make lint-frontend - run: make checks-frontend @@ -57,7 +57,7 @@ jobs: MINIO_ROOT_USER: 123456 MINIO_ROOT_PASSWORD: 12345678 steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - name: install git >= 2.42 uses: ./.forgejo/workflows/composite/apt-install-from @@ -101,7 +101,7 @@ jobs: image: ${{ matrix.cacher.image }} options: ${{ matrix.cacher.options }} steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - name: install git >= 2.42 uses: ./.forgejo/workflows/composite/apt-install-from @@ -132,7 +132,7 @@ jobs: # MYSQL_EXTRA_FLAGS: --innodb-adaptive-flushing=OFF --innodb-buffer-pool-size=4G --innodb-log-buffer-size=128M --innodb-flush-log-at-trx-commit=0 --innodb-flush-log-at-timeout=30 --innodb-flush-method=nosync --innodb-fsync-threshold=1000000000 steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - name: install dependencies & git >= 2.42 uses: ./.forgejo/workflows/composite/apt-install-from @@ -164,7 +164,7 @@ jobs: POSTGRES_DB: test POSTGRES_PASSWORD: postgres steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - name: install dependencies & git >= 2.42 uses: ./.forgejo/workflows/composite/apt-install-from @@ -185,7 +185,7 @@ jobs: container: image: 'code.forgejo.org/oci/node:20-bookworm' steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - name: install dependencies & git >= 2.42 uses: ./.forgejo/workflows/composite/apt-install-from @@ -212,7 +212,7 @@ jobs: container: image: 'code.forgejo.org/oci/node:20-bookworm' steps: - - uses: https://code.forgejo.org/actions/checkout@v3 + - uses: https://code.forgejo.org/actions/checkout@v4 - uses: ./.forgejo/workflows/composite/setup-env - run: su forgejo -c 'make deps-backend deps-tools' - run: su forgejo -c 'make security-check'