Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(mergify): upgrade configuration to current format #1527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

ci(mergify): upgrade configuration to current format

0bec0ee
Select commit
Loading
Failed to load commit list.
Open

ci(mergify): upgrade configuration to current format #1527

ci(mergify): upgrade configuration to current format
0bec0ee
Select commit
Loading
Failed to load commit list.
Mergify / Configuration changed failed Nov 26, 2024 in 0s

The new Mergify configuration is invalid

Invalid YAML @ root → line 16, column 25 → queue_rules:

  • name: duplicated default from Re-queue any PR with a 'requeue' label
    queue_conditions:
    • and:
      • label=automerge
    • and:
      • base=main
    • and:
      • label!=do-not-merge
    • label=requeue
      merge_conditions: []
      merge_method: fast-forward
      update_method: rebase
      autosquash: true
      merge_bot_account: &name_merge_bot rbusarow-bot
      update_bot_account: &name_merge_bot rbusarow-bot
  • name: default
    queue_conditions:
    • and: &label_automerge
      • label=automerge
    • and: &base_main
      • base=main
    • and: &not_label_dnm
      • label!=do-not-merge
        merge_conditions: []
        merge_method: fast-forward
        update_method: rebase
        autosquash: true
        merge_bot_account: *name_merge_bot
        update_bot_account: *name_merge_bot
        shared:
        author-bot: &author_bot
    • or:
      • author=rb-org-bot[bot]
      • author=dependabot[bot]
      • author=renovate[bot]
        author-rbusarow: &author_rbusarow
    • author=RBusarow
      base-main: *base_main
      label-approved: &label_approved
    • label=approved
      label-automerge: *label_automerge
      label-dnm:
    • label=do-not-merge
      not-label-dnm: *not_label_dnm
      label-rebase: &label_rebase
    • label=rebase
      name-approved: &name_approved approved
      name-automerge: &name_automerge automerge
      name-rb-org-bot: &name_rb_org_bot rb-org-bot[bot]
      name-merge-bot: *name_merge_bot
      name-rebase: &name_rebase rebase
      success-ci: &success_ci
    • check-success=all-checks

pull_request_rules:

  • name: Remove automerge label once merged
    conditions:

    • merged
    • and: *label_automerge
      actions:
      label:
      remove:
      • *name_automerge
  • name: Auto-approve RBusarow PRs
    conditions:

    • and: *success_ci
    • and: *author_rbusarow
      actions:
      review:
      type: APPROVE
      message: Automatically approving RBusarow pull request
  • name: Auto-approve bot PRs
    conditions:

    • and: *success_ci
    • or: *author_bot
      actions:
      review:
      type: APPROVE
      message: Automatically approving bot pull request
  • name: Auto-approve any PR with an 'approved' label
    conditions:

    • and: *success_ci
    • and: *label_approved
      actions:
      rebase:
      autosquash: true
      bot_account: *name_merge_bot
      label:
      remove:
      • *name_approved
  • name: Rebase any PR with a 'rebase' label
    conditions:

    • and: *label_rebase
      actions:
      rebase:
      autosquash: true
      bot_account: *name_merge_bot
      label:
      remove:
      • *name_rebase
  • name: Re-queue any PR with a 'requeue' label
    conditions:

    • label=requeue
      actions:
      label:
      remove:
      • requeue
  • name: Queue PRs for rebase-merge when CI passes and approved + Re-queue any PR
    with a 'requeue' label
    conditions: []
    actions:
    queue:

found duplicate anchor; first occurrence
  in "<unicode string>", line 15, column 24
second occurrence
  in "<unicode string>", line 16, column 25

Annotations

Check failure on line 16 in .mergify.yml

See this annotation in the file changed.

@mergify mergify / Configuration changed

Invalid YAML

found duplicate anchor; first occurrence
  in "<unicode string>", line 15, column 24
second occurrence
  in "<unicode string>", line 16, column 25