Skip to content

chore(deps): update peter-evans/create-pull-request action to v7 #1715

chore(deps): update peter-evans/create-pull-request action to v7

chore(deps): update peter-evans/create-pull-request action to v7 #1715

Workflow file for this run

---
name: Automerge
on:
pull_request_target:
types: [labeled, synchronize]
jobs:
automerge_ci:
name: Automerge CI
runs-on: ubuntu-latest
if: |
github.actor == 'udondan' &&
contains(github.event.pull_request.labels.*.name, 'automerge')
steps:
- name: Wait for tests to succeed
uses: fountainhead/[email protected]
id: wait-for-ci
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: success
ref: ${{ github.event.pull_request.head.sha || github.sha }}
timeoutSeconds: 1200
intervalSeconds: 30
- name: Automerge
uses: pascalgn/[email protected]
if: steps.wait-for-ci.outputs.conclusion == 'success'
env:
MERGE_LABELS: automerge
UPDATE_LABELS: automerge
GITHUB_TOKEN: ${{ secrets.OVERRIDE_TOKEN }}
MERGE_DELETE_BRANCH: true
MERGE_METHOD: squash