Skip to content

Update merge-queue-action to v0.7.2 #261

Update merge-queue-action to v0.7.2

Update merge-queue-action to v0.7.2 #261

Workflow file for this run

name: Merge Queue
on:
pull_request:
types: [labeled]
workflow_dispatch:
inputs:
batch_prs:
type: string
required: false
bisect:
type: boolean
default: false
concurrency:
group: merge-queue
cancel-in-progress: false
jobs:
queue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.MERGE_QUEUE_TOKEN }}
- name: Install mdsmith merge driver
env:
MDSMITH_VERSION: v0.7.1
MDSMITH_SHA256: 94df7987309d48b2b9b1aead4554f2904a35e9b1b6bff7f12e64f5514e2692f8
run: |
# Install to a stable path that will persist for the hook to use
mkdir -p "$HOME/.local/bin"
curl -fsSL "https://github.com/jeduden/mdsmith/releases/download/${MDSMITH_VERSION}/mdsmith-linux-amd64" \
-o "$HOME/.local/bin/mdsmith"
echo "${MDSMITH_SHA256} $HOME/.local/bin/mdsmith" | sha256sum -c
chmod +x "$HOME/.local/bin/mdsmith"
"$HOME/.local/bin/mdsmith" merge-driver install
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- uses: jeduden/merge-queue-action@d795be8650d5db3f56171c464b9378f337f36c1b # v0.7.2
with:
token: ${{ secrets.MERGE_QUEUE_TOKEN }}
ci_workflow: .github/workflows/ci.yml
batch_size: "5"
bisect: ${{ github.event.inputs.bisect }}
batch_prs: ${{ github.event.inputs.batch_prs }}