fix(ci): URL-encode label name in labeler-conflict.yml #8

Open
wylab wants to merge 2 commits from fix/labeler-conflict-url-encode into master
Owner

Summary

  • Fixed the Check Merge Conflicts / check-conflicts workflow failing with exit code 3
  • Root cause: The DELETE request for removing the "S: Merge Conflict" label wasn't URL-encoding the label name
  • The label name contains a colon and spaces which must be encoded in URLs

Fix

Added jq @uri filter to properly encode: "S: Merge Conflict""S%3A%20Merge%20Conflict"

Test plan

  • Verify the workflow passes on this PR
  • Check that conflict labels are properly added/removed on PRs

🤖 Generated with Claude Code

## Summary - Fixed the `Check Merge Conflicts / check-conflicts` workflow failing with exit code 3 - Root cause: The DELETE request for removing the "S: Merge Conflict" label wasn't URL-encoding the label name - The label name contains a colon and spaces which must be encoded in URLs ## Fix Added jq `@uri` filter to properly encode: `"S: Merge Conflict"` → `"S%3A%20Merge%20Conflict"` ## Test plan - [ ] Verify the workflow passes on this PR - [ ] Check that conflict labels are properly added/removed on PRs 🤖 Generated with [Claude Code](https://claude.com/claude-code)
wylab added 1 commit 2025-12-23 22:45:55 +01:00
fix(ci): URL-encode label name in labeler-conflict.yml
Some checks failed
Close PRs on master / run (pull_request_target) Has been skipped
Labels: Review / add_label (pull_request_target) Failing after 3s
Labels: Untriaged / add_label (pull_request_target) Failing after 2s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Successful in 3m10s
CRLF Check / CRLF Check (pull_request) Successful in 18s
Test Packaging / Test Packaging (pull_request) Failing after 31s
RGA schema validator / YAML RGA schema validator (pull_request) Failing after 24s
Map file schema validator / YAML map schema validator (pull_request) Failing after 23s
YAML Linter / YAML Linter (pull_request) Successful in 2m51s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 1s
Labels: PR / labeler (pull_request_target) Successful in 17s
Labels: Size / size-label (pull_request_target) Successful in 2s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 51m41s
Build & Test Map Renderer / Build & Test Debug (pull_request) Successful in 3s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 3s
0cc69abd68
The DELETE request for removing the "S: Merge Conflict" label was
failing with exit code 3 because the label name contains spaces and
a colon that weren't URL-encoded.

Uses jq @uri filter to properly encode: "S: Merge Conflict" →
"S%3A%20Merge%20Conflict"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
wylab closed this pull request 2025-12-23 22:49:17 +01:00
wylab reopened this pull request 2025-12-23 22:50:17 +01:00
wylab added 1 commit 2025-12-23 22:58:38 +01:00
fix(ci): replace actions-ecosystem with Gitea API calls for labelers
Some checks failed
CRLF Check / CRLF Check (pull_request) Successful in 52s
Test Packaging / Test Packaging (pull_request) Failing after 1m0s
RGA schema validator / YAML RGA schema validator (pull_request) Failing after 52s
Map file schema validator / YAML map schema validator (pull_request) Failing after 50s
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Failing after 11m40s
YAML Linter / YAML Linter (pull_request) Successful in 13m43s
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 5s
Labels: PR / labeler (pull_request_target) Successful in 48s
Labels: Size / size-label (pull_request_target) Successful in 3s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 43m51s
Build & Test Debug / Build & Test Debug (pull_request) Successful in 3s
Build & Test Map Renderer / Build & Test Debug (pull_request) Has been cancelled
c92b01e0b6
actions-ecosystem actions don't work with Gitea (GitHub-only).
Replaced with direct Gitea API curl calls.

Affected workflows:
- labeler-approve.yml
- labeler-changes.yml
- labeler-needsreview.yml
- labeler-stable.yml
- labeler-staging.yml
- labeler-untriaged.yml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Some checks are pending
CRLF Check / CRLF Check (pull_request) Successful in 52s
Test Packaging / Test Packaging (pull_request) Failing after 1m0s
Required
Details
RGA schema validator / YAML RGA schema validator (pull_request) Failing after 52s
Required
Details
Map file schema validator / YAML map schema validator (pull_request) Failing after 50s
Required
Details
Build & Test Map Renderer / build (ubuntu-latest) (pull_request) Failing after 11m40s
Required
Details
YAML Linter / YAML Linter (pull_request) Successful in 13m43s
Required
Details
Check Merge Conflicts / check-conflicts (pull_request_target) Successful in 5s
Labels: PR / labeler (pull_request_target) Successful in 48s
Labels: Size / size-label (pull_request_target) Successful in 3s
Build & Test Debug / build (ubuntu-latest) (pull_request) Successful in 43m51s
Required
Details
Build & Test Debug / Build & Test Debug (pull_request) Successful in 3s
Required
Details
Build & Test Map Renderer / Build & Test Debug (pull_request) Has been cancelled
Required
Details
RSI Validator / Validate RSIs (pull_request)
Required
Some required checks were not successful.
This branch is out-of-date with the base branch
The changes on this branch are already on the target branch. This will be an empty commit.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/labeler-conflict-url-encode:fix/labeler-conflict-url-encode
git checkout fix/labeler-conflict-url-encode
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wylab/wylab-station-14#8