ci: use the shared workflow-basics actions (test, security, auto-tag) #2

Merged
tim merged 1 commit from ci/workflow-basics into main 2026-10-12 09:30:42 +00:00
Owner

Moves this repo onto the shared actions from tim/workflow-basics (@v1).

Changes

  • test.yml: calls python-test. Same lint and test steps as before.
  • security.yml (new): bandit on src, pip-audit of the installed environment, and gitleaks over the repository history. Runs on PRs, main and weekly.
  • auto-tag.yml (new): tags vX.Y.Z from pyproject.toml when merged to main, so the tag the Home Assistant integration pins to is never forgotten. There is no CHANGELOG here, so the CHANGELOG check is off. The existing v0.2.0 tag is detected and skipped.

Uses the global REPO_WRITER_PAT secret.

Verified

  • All three actions run against this repo locally in python:3.14-slim: 182 tests pass, bandit has no medium/high findings, pip-audit finds nothing, gitleaks finds nothing in 14 commits.
  • The actions' own self-tests pass on the runners (tim/workflow-basics).

Notes

  • The auto-tag run after merging should report "Tag v0.2.0 already exists".

Generated with Claude Code

Moves this repo onto the shared actions from tim/workflow-basics (`@v1`). ## Changes - **test.yml**: calls `python-test`. Same lint and test steps as before. - **security.yml** (new): bandit on `src`, pip-audit of the installed environment, and gitleaks over the repository history. Runs on PRs, main and weekly. - **auto-tag.yml** (new): tags `vX.Y.Z` from `pyproject.toml` when merged to `main`, so the tag the Home Assistant integration pins to is never forgotten. There is no CHANGELOG here, so the CHANGELOG check is off. The existing `v0.2.0` tag is detected and skipped. Uses the global `REPO_WRITER_PAT` secret. ## Verified - All three actions run against this repo locally in `python:3.14-slim`: 182 tests pass, bandit has no medium/high findings, pip-audit finds nothing, gitleaks finds nothing in 14 commits. - The actions' own self-tests pass on the runners (tim/workflow-basics). ## Notes - The auto-tag run after merging should report "Tag v0.2.0 already exists". Generated with [Claude Code](https://claude.com/claude-code)
ci: use the shared workflow-basics actions
All checks were successful
Security / Security scan (pull_request) Successful in 31s
Test / Lint and test (pull_request) Successful in 15s
da9da1a72d
- test.yml calls python-test (same lint and test steps as before)
- security.yml: bandit, pip-audit and gitleaks on PRs, main and weekly
- auto-tag.yml: tag vX.Y.Z from pyproject.toml when merged to main, so
  the tag the Home Assistant integration pins to is never forgotten

Requires tim/workflow-basics tag v1. Uses the global REPO_WRITER_PAT.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tim merged commit 9f9358998d into main 2026-10-12 09:30:42 +00:00
tim deleted branch ci/workflow-basics 2026-10-12 09:30:42 +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
tim/py-nissan-leaf-obd-ble!2
No description provided.