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 63bcce4 commit 0a14f44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Get members of "gdsc" organization
id: get-members
run: |
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')
https://api.github.com/orgs/Google-DSC-Kookmin/members | jq -r '.[] | .login' | sed 's/ /_/g')
# Set members as an environment variable
echo "GDSC_MEMBERS=$members" >> $GITHUB_ENV
shell: bash

- name: Fetch commit history for each member
id: fetch-commit-history
run: |
Expand Down

0 comments on commit 0a14f44

Please sign in to comment.