-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32d6c0c
commit 04aa3cd
Showing
24 changed files
with
90 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
readme_file=$1 | ||
|
||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | ||
|
||
pushd "${SCRIPT_DIR}/.." >/dev/null | ||
|
||
(grep -oP '[^/]+\.yml(?=/badge.svg)' "${readme_file}" || (>&2 echo "No badges in ${readme_file}" ; exit 1)) | while read -r workflow_file; do | ||
path_to_workflow=".github/workflows/${workflow_file}" | ||
if [ ! -e "${path_to_workflow}" ] | ||
then | ||
>&2 echo "Error, workflow does not exist \"${path_to_workflow}\"" | ||
exit 1 | ||
fi | ||
done | ||
|
||
(grep -oP '[^/]+\.yml/badge.svg(?!\?branch=main)' "${readme_file}" || echo ) | while read -r badge_without_branch; do | ||
if [ -z "${badge_without_branch}" ]; then continue; fi | ||
>&2 echo "Badge without branch \"${badge_without_branch}\"" | ||
exit 1 | ||
done | ||
|
||
popd >/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
git submodule update --init --recursive |
This file was deleted.
Oops, something went wrong.
Submodule dart
updated
3 files
+17 −0 | .github/workflows/check-badges.yml | |
+2 −0 | README.md | |
+25 −0 | scripts/check-badges.bash |
Submodule dotnet
updated
5 files
+17 −0 | .github/workflows/check-badges.yml | |
+2 −2 | README.md | |
+0 −0 | scripts/build_package.cmd | |
+25 −0 | scripts/check-badges.bash | |
+0 −0 | scripts/insert-examples.py |
Submodule go
updated
3 files
+17 −0 | .github/workflows/check-badges.yml | |
+1 −1 | README.md | |
+25 −0 | scripts/check-badges.bash |
Submodule java
updated
3 files
+17 −0 | .github/workflows/check-badges.yml | |
+1 −1 | README.md | |
+25 −0 | scripts/check-badges.bash |
Submodule node
updated
3 files
+17 −0 | .github/workflows/check-badges.yml | |
+1 −1 | README.md | |
+25 −0 | scripts/check-badges.bash |
Submodule php
updated
2 files
+17 −0 | .github/workflows/check-badges.yml | |
+25 −0 | scripts/check-badges.bash |
Submodule python
updated
3 files
+17 −0 | .github/workflows/check-badges.yml | |
+1 −1 | README.md | |
+25 −0 | scripts/check-badges.bash |