Skip to content

Commit

Permalink
Rev4 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 d8e8341 commit c7d536e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +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: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/cloud-barista/teams
TEAM_MEMBERS=$(curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Authorization: Bearer ${{ secrets.CR_PAT }}" \
-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
Expand Down

0 comments on commit c7d536e

Please sign in to comment.