Skip to content

Commit

Permalink
Rev2 debugging Update auto-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-son authored Nov 15, 2023
1 parent 27fd59f commit f05349f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,10 @@ jobs:
run: |
TEAM_NAME="${{ env.REPO_NAME }}-maintainer"
echo "GITHUB_ACTOR: ${GITHUB_ACTOR} / TEAM_NAME: ${TEAM_NAME}"
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/cloud-barista/teams/${TEAM_NAME}/members | jq '.'
TEAM_MEMBERS=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
TEAM_MEMBERS=$(curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/cloud-barista/teams/${TEAM_NAME}/members | jq -r '.[] | .login')
echo "TEAM_MEMBERS=$TEAM_MEMBERS" >> $GITHUB_ENV
echo "TEAM_MEMBERS: ${TEAM_MEMBERS}"
Expand Down

0 comments on commit f05349f

Please sign in to comment.