ci(github): add release checks workflow, dependabot config and local CI script #15

Merged
csaeum merged 2 commits from feature/github-release-ci into main 2026-11-16 18:49:16 +00:00
Owner

Summary

  • .github/workflows/release-checks.yml: second check stage on GitHub, runs only for release tags v*. CodeQL (Python) is skipped while the repository is private. Actions are pinned to commit SHAs (checked against the tags actions/checkout v7.0.1 and github/codeql-action v4.39.1).
  • .github/dependabot.yml: weekly updates for pip (/, /ner-service), docker (/ner-service) and github-actions. Pull requests are hints only, because the Forgejo push mirror deletes branches that only exist on GitHub.
  • scripts/ci-local.sh: runs the Forgejo workflow locally with forgejo-runner exec (clean clone of the current branch, checkout steps swapped for actions/checkout), so CI changes can be tested without pushing.

Test plan

  • yamllint on .github/; Semgrep (workflow rule sets) on scripts/ and .github/: 0 findings.
  • scripts/ci-local.sh: lint, abhaengigkeiten, abhaengigkeiten-ner green. On the previous state all four jobs including sicherheit were green (~41 s).
  • sicherheit not verified locally on this exact state (GitHub download too slow on the dev machine, curl timeout); the Forgejo run is the gate.
  • Forgejo CI run is green.

🤖 Generated with Claude Code

## Summary - `.github/workflows/release-checks.yml`: second check stage on GitHub, runs only for release tags `v*`. CodeQL (Python) is skipped while the repository is private. Actions are pinned to commit SHAs (checked against the tags `actions/checkout` v7.0.1 and `github/codeql-action` v4.39.1). - `.github/dependabot.yml`: weekly updates for pip (`/`, `/ner-service`), docker (`/ner-service`) and github-actions. Pull requests are hints only, because the Forgejo push mirror deletes branches that only exist on GitHub. - `scripts/ci-local.sh`: runs the Forgejo workflow locally with `forgejo-runner exec` (clean clone of the current branch, checkout steps swapped for `actions/checkout`), so CI changes can be tested without pushing. ## Test plan - [x] `yamllint` on `.github/`; Semgrep (workflow rule sets) on `scripts/` and `.github/`: 0 findings. - [x] `scripts/ci-local.sh`: `lint`, `abhaengigkeiten`, `abhaengigkeiten-ner` green. On the previous state all four jobs including `sicherheit` were green (~41 s). - [ ] `sicherheit` not verified locally on this exact state (GitHub download too slow on the dev machine, curl timeout); the Forgejo run is the gate. - [ ] Forgejo CI run is green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Add the GitHub second check stage (CodeQL, only on release tags v*, skipped
while the repository is private) and Dependabot for pip, docker and
github-actions. Actions are pinned to commit SHAs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
chore(ci): add script to run the Forgejo workflow locally
Some checks failed
CI / lint (pull_request) Successful in 8s
CI / abhaengigkeiten (pull_request) Successful in 29s
CI / abhaengigkeiten-ner (pull_request) Successful in 56s
CI / sicherheit (pull_request) Failing after 13m2s
CI / lint (push) Successful in 8s
CI / abhaengigkeiten (push) Successful in 20s
CI / abhaengigkeiten-ner (push) Successful in 3m23s
CI / sicherheit (push) Failing after 13m27s
0bf4ec60bd
scripts/ci-local.sh clones the current branch, swaps the shell-based checkout
steps for actions/checkout and runs the workflow with forgejo-runner exec,
so CI changes can be tested without pushing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
csaeum merged commit 26a92cf1b8 into main 2026-11-16 18:49:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Frappe-Projekte/LeadScraper-Google!15
No description provided.