Skip to content

build: bump go version #3

build: bump go version

build: bump go version #3

Workflow file for this run

name: Auto Merge PR
on:
pull_request:
types: [labeled, unlabeled]
pull_request_review:
types: [submitted]
workflow_call:
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Is PR ready?
id: is-ready
if: >
(
(
!github.event.pull_request.draft &&
github.event.pull_request.mergeable
) ||
contains(github.event.pull_request.labels.*.name, 'ready')
)
run: true
- name: Is Dependabot?
id: is-dependabot
if: github.event.pull_request.user.login == 'dependabot[bot]'
run: true
- name: Is patch update?
id: patch-update
if: >
steps.is-dependabot.outcome == 'success' && contains(
github.event.head_commit.message, 'version-update:semver-patch'
)
run: true
- name: Auto merge PR
if: >
(
steps.is-ready.outcome == 'success' ||
steps.is-dependabot.outcome == 'success'
)
uses: pascalgn/automerge-action@v0.16.2
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "automatic"
MERGE_FILTER_AUTHOR: "dependabot[bot]"
MERGE_FORKS: "true"
MERGE_RETRIES: "6"
MERGE_RETRY_SLEEP: "10000"
MERGE_REQUIRED_APPROVALS: "${{
(
steps.is-ready.outcome == 'success' ||
steps.patch-update.outcome == 'success'
) &&
0 || 1
}}"
UPDATE_LABELS: ""
UPDATE_METHOD: "rebase"