mirror of
https://github.com/bitnami/containers.git
synced 2026-10-18 16:21:22 +02:00
[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 <fdepaz@vmware.com> * Also use bitnami-bot to disable automerge Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
@@ -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 }}"
|
||||
}' \
|
||||
|
||||
Reference in New Issue
Block a user