Skip to content

Commit

Permalink
Fix. Workflow by Excluding dependabot from contributors list (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shebyyy authored Nov 26, 2024
1 parent f8b5df4 commit 5bbb186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
done < <(echo "$COMMIT_LOG" | sed 's/%0A/\n/g' | grep -oP '(?<=~)[^[]*' | sort | uniq -c | sort -rn)
echo "Debug: Fetching contributors from GitHub"
contributors=$(curl -s "https://api.github.com/repos/${{ github.repository }}/contributors")
contributors=$(curl -s "https://api.github.com/repos/${{ github.repository }}/contributors" | jq 'map(select(.login != "dependabot[bot]"))')
echo "Debug: Contributors response:"
echo "$contributors"
Expand All @@ -153,7 +153,7 @@ jobs:
echo "$count|$login"
done | sort -rn | cut -d'|' -f2)
developers=""
developers=""
committers_count=0
max_commits=0
top_contributor=""
Expand Down

0 comments on commit 5bbb186

Please sign in to comment.