Skip to content

Auto Merge (The Bouncer) #6

Auto Merge (The Bouncer)

Auto Merge (The Bouncer) #6

Workflow file for this run

name: Auto Merge (The Bouncer)
on:
workflow_run:
workflows: ["CI Orchestrator"]
types:
- completed
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: >
${{ github.event.workflow_run.conclusion == 'success' }} &&
(github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]' || github.actor == 'fseitz')
steps:
- name: Enable Auto Merge
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Find the PR associated with this branch/commit
# tailored logic needed here to match workflow_run to PR
echo "Checking criteria for auto-merge..."
# gh pr merge --auto --merge "$PR_URL"