This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/main by this push:
new c2a933e Skip archived repositories in the labels sync by the nocommit
flag
c2a933e is described below
commit c2a933e2b83ad9e1a5bdd11be12e89ea004f8a90
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 3 22:09:24 2026 +0000
Skip archived repositories in the labels sync by the nocommit flag
Gitbox truncates long descriptions, so maven-doxia-book-maven-plugin ends
in '(ar...' and passed the 'archived' text match; its job failed on every run
with 403.
---
.github/workflows/labels-sync.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/labels-sync.yml
b/.github/workflows/labels-sync.yml
index 1bfc3d0..aeba768 100644
--- a/.github/workflows/labels-sync.yml
+++ b/.github/workflows/labels-sync.yml
@@ -50,7 +50,7 @@ jobs:
run: |
{
echo 'matrix<<EOF'
- curl -s https://gitbox.apache.org/repositories.json | jq
'.projects.maven.repositories | to_entries | sort_by(.key) | .[] |
select(.value.description | contains("archived") | not) | .key' | jq -sc
+ curl -s https://gitbox.apache.org/repositories.json | jq
'.projects.maven.repositories | to_entries | sort_by(.key) | .[] |
select(.value.nocommit != true) | .key' | jq -sc
echo 'EOF'
} >> "$GITHUB_OUTPUT"