From d8e8341a7681c958b35a83cdef84dc856fcc4007 Mon Sep 17 00:00:00 2001 From: Seokho Son Date: Wed, 15 Nov 2023 16:50:09 +0900 Subject: [PATCH] Rev3 debugging Update auto-merge.yml --- .github/workflows/auto-merge.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 3abd617..778f3a4 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -25,6 +25,13 @@ 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 }}" \