0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/.github/workflows/automerge.yml

36 lines
824 B
YAML
Raw Permalink Normal View History

2021-04-08 20:22:39 +02:00
name: Automerge
env:
MERGE_METHOD: 'squash'
MERGE_RETRY_SLEEP: 300000
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
check_suite:
types:
- completed
status: {}
jobs:
automerge:
name: Automerge
runs-on: ubuntu-latest
env:
IS_POSTHOG_BOT_AVAILABLE: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN != '' }}
steps:
2021-04-08 20:22:39 +02:00
- name: Automerge
if: env.IS_POSTHOG_BOT_AVAILABLE == 'true'
uses: pascalgn/automerge-action@v0.14.2
env:
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
- run: echo