We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e7b791 commit 95a597bCopy full SHA for 95a597b
1 file changed
βscripts/workspace-intro.shβ
@@ -57,7 +57,7 @@ C_YELLOW='\033[33m'
57
fetch_repositories() {
58
local repos
59
repos=$(curl -sf "https://api.github.com/orgs/${GITHUB_ORG}/repos?sort=updated&per_page=10" | \
60
- jq -r '.[].name // empty' | head -5)
+ jq -r '[.[] | select(.fork == false)] | .[].name // empty' | head -5)
61
62
if [[ -z "$repos" ]]; then
63
echo "no-repos-found"
@@ -222,4 +222,4 @@ main() {
222
# RUN
223
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
224
225
-main "$@"
+main "$@"
0 commit comments