From c373334b901e1f0402474e78972e6125fb6b91fc Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Wed, 2 Jul 2025 21:15:53 +0200 Subject: [PATCH] Use fixed fetch-depth for copyright linter The old trick to get needed commits doesn't work anymore. The context in gitea unlike on github doesn't carry the number of commits, therefore just fetch a fixed depth of 100 which is to reason should be enough. Signed-off-by: Ralph Sennhauser --- .gitea/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 8cd635cbc1..a11d51c365 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -50,6 +50,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 100 - uses: actions/setup-python@v5 with: