Skip to content

Commit

Permalink
Simplify humans.md
Browse files Browse the repository at this point in the history
Signed-off-by: Y. Meyer-Norwood <106889957+norwd@users.noreply.github.com>
  • Loading branch information
norwd authored Jan 5, 2025
1 parent 8fa4655 commit 2ebe056
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,12 @@ jobs:
ENDPOINT: '/orgs/${{ github.repository_owner }}/repos'
JQ_QUERY: '"- " + (.name // .login) + " (aka [@" + .login + "](" + .html_url + ") on GitHub)"'
TEMPLATE: |
echo "# Humans of ${{ github.repository_owner }}"
echo "# Humans to Thank"
echo
echo "A huge thanks to all and colaborators who have contributed on GitHub!"
echo
{{range .}}
echo "## Contributors to the {{.full_name}} Repo"
{{if .description}}
echo "{{.description}}"
{{end}}
echo
gh api '/repos/{{.full_name}}/contributors' --jq '.[].login' | sort -u | xargs -ILOGIN gh api '/users/LOGIN' --jq "${JQ_QUERY}"
echo
Expand Down

0 comments on commit 2ebe056

Please sign in to comment.