Skip to content

sync: synced file(s) with owlebot/main #115

sync: synced file(s) with owlebot/main

sync: synced file(s) with owlebot/main #115

Workflow file for this run

name: Auto-merge
# https://github.com/marketplace/actions/merge-pull-requests-automerge-action
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
steps:
- name: Generate GH token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: 271330
private_key: ${{ secrets.GH_APP_PKEY }}
- name: Automerge PR
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
MERGE_METHOD: squash
MERGE_LABELS: "meta: automerge"
MERGE_COMMIT_MESSAGE: pull-request-title