mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
[bitnami/*] Use bitnami-bot to enable auto-merge in automated PRs (#11378)
Signed-off-by: FraPazGal <fdepaz@vmware.com>
This commit is contained in:
committed by
GitHub
parent
96eb5aa7cc
commit
b896017e55
4
.github/workflows/ci-pipeline.yaml
vendored
4
.github/workflows/ci-pipeline.yaml
vendored
@@ -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 }}"
|
||||
}' \
|
||||
@@ -175,7 +175,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