mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 15:12:20 +02:00
[bitnami/*] Using bitnami-bot to retrieve org team members (#1158)
* Automated PRs created by the bitnami-bot should be ignored by any workflow related to support activities. Signed-off-by: Alejandro Gómez <morona@vmware.com> * Changing token to retrieve team members since the rate limiting for bitnami-bot was fixed Signed-off-by: Alejandro Gómez <morona@vmware.com> * Changing finally when it's executed, not the token Signed-off-by: Alejandro Gómez <morona@vmware.com> * Changing finally when it's executed, not the token Signed-off-by: Alejandro Gómez <morona@vmware.com> * Changing finally when it's executed, not the token Signed-off-by: Alejandro Gómez <morona@vmware.com> * After checking with @fmulero, for org teams we need the bitnami-bot token Signed-off-by: Alejandro Gómez <morona@vmware.com>
This commit is contained in:
@@ -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//','/'","'}']'
|
||||
|
||||
Reference in New Issue
Block a user