feat(AiSkeleton): adds in new AI skeleton states #2295
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.PERSONAL_ACCESS_TOKEN }} | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GH_DEBUG: api |