GRM-145: refactor: adopt devx v0.40.0
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ GITEA_REGISTRATION_TOKEN=your-registration-token
|
|||||||
# Used by PIP_INSTALL to configure PIP_EXTRA_INDEX_URL
|
# Used by PIP_INSTALL to configure PIP_EXTRA_INDEX_URL
|
||||||
CI_GITEA_USERNAME=your-gitea-username
|
CI_GITEA_USERNAME=your-gitea-username
|
||||||
|
|
||||||
# Role-based Gitea API tokens (devx 0.38.0+)
|
# Role-based Gitea API tokens (devx 0.40.0+)
|
||||||
# DEVELOPER_GITEA_API_TOKEN is used by local `grm trigger-workflow` and `make create-pr`.
|
# DEVELOPER_GITEA_API_TOKEN is used by local `grm trigger-workflow` and `make create-pr`.
|
||||||
# CI_GITEA_API_TOKEN is used by CI workflows (and accepted as a fallback for local tools).
|
# CI_GITEA_API_TOKEN is used by CI workflows (and accepted as a fallback for local tools).
|
||||||
# REVIEWER_GITEA_API_TOKEN is used by CI to post APPROVE reviews; it must belong to a
|
# REVIEWER_GITEA_API_TOKEN is used by CI to post APPROVE reviews; it must belong to a
|
||||||
|
|||||||
@@ -84,6 +84,12 @@ as a defense-in-depth measure, but branch protection is the primary gate.
|
|||||||
### 1. Create Vikunja Task
|
### 1. Create Vikunja Task
|
||||||
Create a task in Vikunja project 6 via `make create-task -- --title "Task title" --description "<h2>...</h2>"` (requires `VIKUNJA_TOKEN` in `.env`). This prints the `GRM-N` identifier and next-step instructions.
|
Create a task in Vikunja project 6 via `make create-task -- --title "Task title" --description "<h2>...</h2>"` (requires `VIKUNJA_TOKEN` in `.env`). This prints the `GRM-N` identifier and next-step instructions.
|
||||||
|
|
||||||
|
**IMPORTANT:** The task title must NOT include the `GRM-N:` prefix.
|
||||||
|
The `make create-pr` and `check_auto_merge_ready` commands automatically
|
||||||
|
prepend `GRM-N: ` to the Vikunja task title when forming the PR title.
|
||||||
|
If the Vikunja task title already includes the prefix, the PR title will
|
||||||
|
have a double prefix and auto-merge validation will fail.
|
||||||
|
|
||||||
### 2. Create Branch
|
### 2. Create Branch
|
||||||
```bash
|
```bash
|
||||||
git checkout master && git pull
|
git checkout master && git pull
|
||||||
|
|||||||
+2
-2
@@ -34,7 +34,7 @@ ci = [
|
|||||||
"build==1.5.0",
|
"build==1.5.0",
|
||||||
"twine==6.2.0",
|
"twine==6.2.0",
|
||||||
# Reusable CI/CD and dev tools (auto-merge, pr-review, pre-push checks, etc.)
|
# Reusable CI/CD and dev tools (auto-merge, pr-review, pre-push checks, etc.)
|
||||||
"devx==0.38.0",
|
"devx==0.40.0",
|
||||||
]
|
]
|
||||||
# Lint and type-checking tools (quality job)
|
# Lint and type-checking tools (quality job)
|
||||||
lint = [
|
lint = [
|
||||||
@@ -54,7 +54,7 @@ molecule = [
|
|||||||
dev = [
|
dev = [
|
||||||
"grm[ci,lint,molecule]",
|
"grm[ci,lint,molecule]",
|
||||||
# Reusable CI/CD and dev tools (pre-push hooks, create-task, create-pr)
|
# Reusable CI/CD and dev tools (pre-push hooks, create-task, create-pr)
|
||||||
"devx==0.38.0",
|
"devx==0.40.0",
|
||||||
# Non-Python dev dependency: checkmake (Makefile linter)
|
# Non-Python dev dependency: checkmake (Makefile linter)
|
||||||
# Install via: go install github.com/checkmake/checkmake/cmd/checkmake@latest
|
# Install via: go install github.com/checkmake/checkmake/cmd/checkmake@latest
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user