diff --git a/.ci/bump-golang.yml b/.ci/bump-golang.yml index 76446bd5..60562df9 100644 --- a/.ci/bump-golang.yml +++ b/.ci/bump-golang.yml @@ -14,16 +14,17 @@ scms: branch: '{{ requiredEnv "BRANCH" }}' actions: - golang-crossbuild: + default: + title: '[Automation] Bump Golang version to {{ source "latestGoVersion" }}' kind: github/pullrequest scmid: githubConfig - sourceid: latestGoVersion spec: - automerge: false + automerge: true labels: - dependencies - backport-skip - title: '[Automation] Bump Golang version to {{ source "latestGoVersion" }}' + description: | + See [changelog](https://github.com/golang/go/issues?q=milestone%3AGo{{ source "latestGoVersion" }}+label%3ACherryPickApproved) for {{ source "latestGoVersion" }} sources: minor: @@ -72,7 +73,7 @@ conditions: targets: update-go-versions: - name: "Update go versions" + name: 'Update go version {{ source "latestGoVersion" }}' kind: shell sourceid: latestGoVersion scmid: githubConfig diff --git a/.mergify.yml b/.mergify.yml index 5b9cf49d..abf7d907 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -10,6 +10,16 @@ pull_request_rules: - files~=^Jenkinsfile$ actions: delete_head_branch: + - name: automatic approval for automated pull requests with golang bump updates + conditions: + - author=apmmachine + - check-success=beats-ci/pr-merge + - label=automation + - files~=^go/Makefile.common + actions: + review: + type: APPROVE + message: Automatically approving mergify - name: ask to resolve conflict conditions: - -merged