Skip to content

Commit

Permalink
ci: fix test add extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Jun 2, 2024
1 parent 6818f32 commit 2246c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
error=false
add_extension=$(gh pr view "${NUMBER}" --json files --jq '.files[] | select(.path == "extensions/quarto-extensions.csv")')
if [[ -z "${add_extension}" ]]; then
if [[ -n "${add_extension}" ]]; then
gh pr diff ${NUMBER} --patch | grep -E '^(\+shortcodes-filters,|\+formats,)' > diff.patch
if [[ -s diff.patch ]]; then
while IFS=, read -r category repo; do
Expand All @@ -76,7 +76,7 @@ jobs:
run: |
error=false
add_extension=$(gh pr view "${NUMBER}" --json files --jq '.files[] | select(.path == "extensions/quarto-extensions.csv")')
if [[ -z "${add_extension}" ]]; then
if [[ -n "${add_extension}" ]]; then
gh pr diff ${NUMBER} --patch | grep -E '^(\+shortcodes-filters,|\+formats,)' > diff.patch
if [[ -s diff.patch ]]; then
while IFS=, read -r category repo; do
Expand Down

0 comments on commit 2246c76

Please sign in to comment.