Skip to content

build: Change docker image, enable server build #6474

build: Change docker image, enable server build

build: Change docker image, enable server build #6474

Workflow file for this run

name: "Automerge"
on:
pull_request_target:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
branches:
- main
- 'release/*'
paths:
- 'services/**/*'
check_suite:
types:
- completed
workflow_dispatch: {}
jobs:

Check failure on line 23 in .github/workflows/automerge.yaml

View workflow run for this annotation

GitHub Actions / Automerge

Invalid workflow file

The workflow is not valid. .github/workflows/automerge.yaml (Line: 23, Col: 11): Unexpected symbol: ')'. Located at position 405 within expression: (startsWith(github.head_ref, 'chartbump/') || contains(github.event.pull_request.labels.*.name, 'auto-merge')) && contains(github.event.pull_request.labels.*.name, 'ready-for-review') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge') && !contains(github.event.pull_request.labels.*.name, 'do-not-merge/testing') && !contains(github.event.pull_request.labels.*[...]
automerge:
runs-on: ubuntu-latest
steps:
- name: Enable auto-merge for automated chart bump PRs
id: automerge
if: |
startsWith(github.head_ref, 'chartbump/')
&& contains(github.event.pull_request.labels.*.name, 'ready-for-review')
&& !contains(github.event.pull_request.labels.*.name, 'do-not-merge')
&& !contains(github.event.pull_request.labels.*.name, 'do-not-merge/testing')
&& !contains(github.event.pull_request.labels.*.name, 'let-me-merge-it')
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.MERGEBOT_TOKEN }}