We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28a4dc commit 63b6684Copy full SHA for 63b6684
.github/workflows/check-plugin-links.yml
@@ -16,8 +16,13 @@ jobs:
16
17
- name: Fetch `badges.json` from gh-pages
18
run: |
19
- git fetch origin gh-pages
20
- git checkout gh-pages -- badges.json
+ git fetch origin gh-pages:gh-pages || echo "gh-pages branch does not exist."
+ if [ -f badges.json ]; then
21
+ echo "badges.json successfully fetched from gh-pages."
22
+ else
23
+ echo "No badges.json file found in gh-pages branch."
24
+ exit 1
25
+ fi
26
27
- name: Set up Node.js
28
uses: actions/setup-node@v3
0 commit comments