Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
donggook-me authored Nov 17, 2023
1 parent fdff07f commit 271153e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@ jobs:
- name: Get members of "gdsc" organization
id: get-members
run: |
#dummy data testing
echo "GDSC_MEMBERS=donggook-me handsomem1n ChangHoon-Sung" >> $GITHUB_ENV
members=$(curl -sSL \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GDSC_GH_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/Google-DSC-Kookmin/members | jq -r '.[].login')
# Set members as an environment variable
echo "GDSC_MEMBERS=$members" >> $GITHUB_ENV
- name: Fetch commit history for each member
id: fetch-commit-history
run: |
Expand Down

0 comments on commit 271153e

Please sign in to comment.