From 04c9e0574086cc314fca6a3237614cefe69c4545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20G=C3=B3mez=20Mor=C3=B3n?= Date: Fri, 29 Jul 2022 11:25:02 +0200 Subject: [PATCH] [bitnami/*] Using bitnami-bot to retrieve org team members (#1158) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Automated PRs created by the bitnami-bot should be ignored by any workflow related to support activities. Signed-off-by: Alejandro Gómez * Changing token to retrieve team members since the rate limiting for bitnami-bot was fixed Signed-off-by: Alejandro Gómez * Changing finally when it's executed, not the token Signed-off-by: Alejandro Gómez * Changing finally when it's executed, not the token Signed-off-by: Alejandro Gómez * Changing finally when it's executed, not the token Signed-off-by: Alejandro Gómez * After checking with @fmulero, for org teams we need the bitnami-bot token Signed-off-by: Alejandro Gómez --- .github/workflows/sync-teams.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-teams.yml b/.github/workflows/sync-teams.yml index 19cedbe10983..2962373d4ba7 100644 --- a/.github/workflows/sync-teams.yml +++ b/.github/workflows/sync-teams.yml @@ -23,7 +23,7 @@ jobs: run: | TEAM_MEMBERS=$(curl --request GET \ --url https://api.github.com/orgs/bitnami/teams/developers/members \ - --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'authorization: Bearer ${{ secrets.BITNAMI_BOT_TOKEN }}' \ --header 'content-type: application/json' \ | jq 'sort_by(.login)|map(.login)|join(",")') TEAM_MEMBERS='['${TEAM_MEMBERS//','/'","'}']'