ci: migrate pr-review pipeline to plugin #33

Merged
phil merged 1 commit from fix/ci into main 2026-04-24 20:41:06 +02:00
Owner
No description provided.
ci: migrate pr-review pipeline to plugin
All checks were successful
ci/woodpecker/push/check Pipeline was successful
ci/woodpecker/pr/check Pipeline was successful
ci/woodpecker/pr/pr-review Pipeline was successful
6ddbcb6171
First-time contributor

Summary: Migrates the PR review pipeline from direct Docker image execution to Woodpecker's plugin-style configuration, updating environment variable naming conventions and secret references.

Issues:

⚠️ MEDIUM .woodpecker/pr-review.yml:9 - Using mutable `latest` image tag

Using git.hackmi.ch/phil/pr-review-bot:latest means the pipeline behavior can change unexpectedly when new images are pushed. For production CI/CD pipelines, pinning to a specific version (e.g., 0.2.0 or a commit SHA) ensures reproducibility and prevents breaking changes.

💡 LOW .woodpecker/pr-review.yml:5 - Breaking change in secret names

Secrets were renamed from llm_provider/llm_model/etc. to global_llm_provider/global_llm_model/etc. This is a breaking change that requires updating the CI/CD secrets configuration before merging, otherwise the pipeline will fail.

Recommendations:

💡 .woodpecker/pr-review.yml:9 - Pin to a specific version tag

Step 1: Replace git.hackmi.ch/phil/pr-review-bot:latest with a specific version like git.hackmi.ch/phil/pr-review-bot:0.2.0 or a git SHA tag.
Step 2: Document the versioning strategy in the repository (e.g., update CHANGELOG or migration guide when upgrading).

Score (Code Quality): 75

Result: ⚠️ Changes Requested

The migration follows Woodpecker's plugin pattern correctly, but the latest tag is a production reliability concern. Consider pinning to a stable version tag.

**Summary:** Migrates the PR review pipeline from direct Docker image execution to Woodpecker's plugin-style configuration, updating environment variable naming conventions and secret references. **Issues:** <details> <summary>⚠️ MEDIUM .woodpecker/pr-review.yml:9 - Using mutable `latest` image tag</summary> > Using `git.hackmi.ch/phil/pr-review-bot:latest` means the pipeline behavior can change unexpectedly when new images are pushed. For production CI/CD pipelines, pinning to a specific version (e.g., `0.2.0` or a commit SHA) ensures reproducibility and prevents breaking changes. </details> <details> <summary>💡 LOW .woodpecker/pr-review.yml:5 - Breaking change in secret names</summary> > Secrets were renamed from `llm_provider`/`llm_model`/etc. to `global_llm_provider`/`global_llm_model`/etc. This is a breaking change that requires updating the CI/CD secrets configuration before merging, otherwise the pipeline will fail. </details> **Recommendations:** <details> <summary>💡 .woodpecker/pr-review.yml:9 - Pin to a specific version tag</summary> > Step 1: Replace `git.hackmi.ch/phil/pr-review-bot:latest` with a specific version like `git.hackmi.ch/phil/pr-review-bot:0.2.0` or a git SHA tag. > Step 2: Document the versioning strategy in the repository (e.g., update CHANGELOG or migration guide when upgrading). </details> **Score (Code Quality):** 75 **Result:** ⚠️ Changes Requested The migration follows Woodpecker's plugin pattern correctly, but the `latest` tag is a production reliability concern. Consider pinning to a stable version tag.
phil merged commit fb0f1d2017 into main 2026-04-24 20:41:06 +02:00
phil deleted branch fix/ci 2026-04-24 20:41:06 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
ElZeckos/Temp-Voice-URC!33
No description provided.