From 14718d00855a0296434d342d9b8b493406c2591a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20de=20Paz=20Gal=C3=A1n?= Date: Wed, 27 Jul 2022 18:23:05 +0200 Subject: [PATCH] [bitnami/*] Use bitnami-bot to enable auto-merge in automated PRs (#930) * [bitnami/*] Use bitnami-bot to enable auto-merge in automated PRs Signed-off-by: FraPazGal * Also use bitnami-bot to disable automerge Signed-off-by: FraPazGal --- .github/workflows/ci-pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pipeline.yaml b/.github/workflows/ci-pipeline.yaml index 3daa30fb5a26..beedfe83579b 100644 --- a/.github/workflows/ci-pipeline.yaml +++ b/.github/workflows/ci-pipeline.yaml @@ -35,7 +35,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/graphql \ - --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'authorization: Bearer ${{ secrets.BITNAMI_BOT_TOKEN }}' \ --data '{ "query": "mutation { enablePullRequestAutoMerge(input: {pullRequestId: \"${{ github.event.pull_request.node_id }}\", mergeMethod: SQUASH}) { clientMutationId }}" }' \ @@ -172,7 +172,7 @@ jobs: run: | curl --request POST \ --url https://api.github.com/graphql \ - --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'authorization: Bearer ${{ secrets.BITNAMI_BOT_TOKEN }}' \ --data '{ "query": "mutation { disablePullRequestAutoMerge(input: {pullRequestId: \"${{ github.event.pull_request.node_id }}\"}) { clientMutationId }}" }' \