diff --git a/.forgejo/workflows/verify.yml b/.forgejo/workflows/verify.yml index fd8cd9e..aa38f5f 100644 --- a/.forgejo/workflows/verify.yml +++ b/.forgejo/workflows/verify.yml @@ -20,10 +20,13 @@ jobs: apk add --no-cache nodejs git openssh python3 py3-pip - name: Checkout repository uses: actions/checkout@v4 + with: + # IMPORTANT! Otherwise, the script cannot see all commits and will assume the last commit is the author of every file. + fetch-depth: 0 - name: Create virtualenv and install Python dependencies run: | - python -m venv venv - . venv/bin/activate + python -m venv .venv + . .venv/bin/activate pip install --upgrade GitPython requests - name: Run verification script - run: . venv/bin/activate && python verify.py \ No newline at end of file + run: . .venv/bin/activate && python verify.py \ No newline at end of file