From 906870faa8687e2195a0674cb17bc26962f6cb45 Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Sun, 24 May 2026 02:38:41 +0200
Subject: [PATCH] chore: remove update-requirements-lock utility workflow
Co-authored-by: Cursor
---
.../workflows/update-requirements-lock.yml | 65 -------------------
1 file changed, 65 deletions(-)
delete mode 100644 .forgejo/workflows/update-requirements-lock.yml
diff --git a/.forgejo/workflows/update-requirements-lock.yml b/.forgejo/workflows/update-requirements-lock.yml
deleted file mode 100644
index 367bb9ce..00000000
--- a/.forgejo/workflows/update-requirements-lock.yml
+++ /dev/null
@@ -1,65 +0,0 @@
-name: Update requirements.lock
-
-on:
- workflow_dispatch:
- push:
- branches:
- - main
- - int
- paths:
- - 'requirements.txt'
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-
-jobs:
- update-lock:
- runs-on: ubuntu-latest
- permissions:
- contents: write
-
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Python
- uses: actions/setup-python@v5
- with:
- python-version: '3.11'
-
- - name: Install pip-tools
- run: python -m pip install --upgrade "pip>=24,<26" pip-tools
-
- - name: Generate requirements.lock
- run: pip-compile requirements.txt -o requirements.lock
-
- - name: Set environment file
- run: |
- if [ "${{ github.ref }}" == "refs/heads/int" ]; then
- ENV_FILE="env-int.env"
- else
- ENV_FILE="env-prod.env"
- fi
- test -f "$ENV_FILE"
- cp "$ENV_FILE" .env
-
- - name: Install dependencies from generated lock
- run: pip install -r requirements.lock --no-cache-dir
-
- - name: Run tests
- run: python -m pytest tests/ --ignore=tests/demo
-
- - name: Clean up .env before commit
- run: rm -f .env
-
- - name: Commit and push requirements.lock
- run: |
- git config user.name "forgejo-actions[bot]"
- git config user.email "forgejo-actions[bot]@noreply.git.poweron.swiss"
- git add requirements.lock
- if git diff --staged --quiet; then
- echo "No changes to requirements.lock"
- else
- git commit -m "chore: update requirements.lock"
- git push
- fi