Skip to content

fix: i changed the popover declaration for the docs to be shown #683

fix: i changed the popover declaration for the docs to be shown

fix: i changed the popover declaration for the docs to be shown #683

name: Merge Queue
on:
pull_request_target:
types: [labeled, opened, reopened]
permissions:
pull-requests: write
contents: write
jobs:
add-to-merge-queue:
name: Add to queue when automerge labels are present
runs-on: ubuntu-latest
steps:
- name: Log github event
env:
$GITHUB_CONTEXT_LABELS:
${{ toJson(github.event.pull_request.labels) }}
run: echo "$GITHUB_CONTEXT_LABELS"
- name: 'Add the PR to the merge queue via the GitHub CLI'
if:
${{ contains(github.event.pull_request.labels.*.name,
format('status{0} ready to merge 🎉', ':')) ||
contains(github.event.pull_request.labels.*.name, format('status{0}
enable automerge 🟠', ':'))}}
run: gh pr merge "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{github.event.pull_request.html_url}}