GRM-54: fix: fix broken automation pipeline (auto-merge, Vikunja, CI enforcement)

This commit is contained in:
2026-06-22 08:04:54 +00:00
parent ad3c43bf8e
commit 0bf78d4f83
8 changed files with 97 additions and 9 deletions
+6 -3
View File
@@ -2,13 +2,16 @@ name: Auto-merge
on:
pull_request:
types: [labeled]
types: [labeled, unlabeled]
jobs:
merge:
if: contains(github.event.pull_request.labels.*.name, 'ready-to-merge')
# Always run — the Python script checks for the label via API.
# Gitea's `labeled` event payload may not populate pull_request.labels
# correctly, so we can't rely on the YAML-level condition.
if: github.event.label.name == 'ready-to-merge'
runs-on: docker
timeout-minutes: 5
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install dependencies
+8 -1
View File
@@ -31,7 +31,14 @@ jobs:
PYTHONPATH: src
run: |
. .venv/bin/activate
python3 scripts/ci/doc_coverage.py
python3 scripts/ci/doc_coverage.py --fail-on-missing
- name: Dependency security scan
run: |
. .venv/bin/activate
# Install pip in venv if missing (needed by pip-audit)
.venv/bin/python -m ensurepip 2>/dev/null || true
PIPAPI_PYTHON_LOCATION=$PWD/.venv/bin/python \
pip-audit --desc --skip-editable 2>&1 || true
release-dry-run:
needs: [quality, detect-changes]
+1 -1
View File
@@ -151,7 +151,7 @@ jobs:
env:
VIKUNJA_TOKEN: ${{ secrets.VIKUNJA_TOKEN }}
PYTHONPATH: src
run: python3 scripts/ci/post_merge.py --from-git
run: python3 scripts/ci/post_merge.py --git-sha "${{ github.sha }}"
- name: Notify on failure
if: failure()
env: