wiki-guard: log the number of write-access members loaded
This commit is contained in:
@@ -53,6 +53,7 @@ jobs:
|
|||||||
gh api "repos/${GITHUB_REPOSITORY}/collaborators?per_page=100" --paginate \
|
gh api "repos/${GITHUB_REPOSITORY}/collaborators?per_page=100" --paginate \
|
||||||
-q '.[] | select(.permissions.push) | .login' 2>/dev/null \
|
-q '.[] | select(.permissions.push) | .login' 2>/dev/null \
|
||||||
| tr 'A-Z' 'a-z' | sort -u > writers.txt || true
|
| tr 'A-Z' 'a-z' | sort -u > writers.txt || true
|
||||||
|
echo "write-access members loaded: $(wc -l < writers.txt)"
|
||||||
cd wiki
|
cd wiki
|
||||||
git config core.quotePath false
|
git config core.quotePath false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user