Skip to content

Commit 339a6e6

Browse files
authored
ci: Remove category from topics/description CSV structure (#56)
1 parent 0f12ce6 commit 339a6e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-extensions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
if [[ -n "${add_extension}" ]]; then
5656
gh pr diff ${NUMBER} --patch | awk '/\+\+\+ b\/extensions\/quarto-extensions\.csv/{flag=1; next} flag && /^\+/' | sed 's/^+//' > diff.patch
5757
if [[ -s diff.patch ]]; then
58-
while IFS=, read -r category repo; do
58+
while IFS=, read -r repo; do
5959
repo_topics=$(gh repo view --json repositoryTopics "${repo}" --jq ".repositoryTopics")
6060
if [[ -z "${repo_topics}" ]]; then
6161
echo "::error file=extensions/quarto-extensions.csv::Repository '${repo}' is missing topics!"
@@ -79,7 +79,7 @@ jobs:
7979
if [[ -n "${add_extension}" ]]; then
8080
gh pr diff ${NUMBER} --patch | awk '/\+\+\+ b\/extensions\/quarto-extensions\.csv/{flag=1; next} flag && /^\+/' | sed 's/^+//' > diff.patch
8181
if [[ -s diff.patch ]]; then
82-
while IFS=, read -r category repo; do
82+
while IFS=, read -r repo; do
8383
repo_description=$(gh repo view --json description "${repo}" --jq ".description")
8484
if [[ -z "${repo_description}" ]]; then
8585
echo "::error file=extensions/quarto-extensions.csv::Repository '${repo}' is missing description!"

0 commit comments

Comments
 (0)