Skip to content

Commit 9a5fe5d

Browse files
authored
Update check-badges.yml
1 parent d9280aa commit 9a5fe5d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/check-badges.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,11 @@ jobs:
9191
done
9292
done
9393
94-
if [[ $OUTDATED_PLUGINS -eq 1 ]]; then
95-
echo "::error:: Some plugins/themes have outdated release URLs! Check annotations for details."
96-
echo "$REPORT" > outdated_plugins_report.md
97-
echo "outdated=true" >> $GITHUB_ENV
98-
fi
94+
echo "$REPORT" > outdated_plugins_report.md
95+
echo "outdated=$OUTDATED_PLUGINS" >> $GITHUB_ENV
9996
10097
- name: Create GitHub Issue Notification
101-
if: env.outdated == 'true'
98+
if: env.outdated == '1'
10299
uses: peter-evans/create-issue-from-file@v4
103100
with:
104101
title: "🚨 Outdated Plugin Report"

0 commit comments

Comments
 (0)