0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/.github/workflows/automerge.yml
Harry Waye 293988b5b6
ci(github): update actions that use node v12 (#12452)
* ci(github): update actions that use node v12

See
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

* update actions for node 12 -> node 16

* update actions for node 12 -> node 16
2022-10-26 18:40:00 +00:00

36 lines
824 B
YAML

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:
- name: Automerge
if: env.IS_POSTHOG_BOT_AVAILABLE == 'true'
uses: pascalgn/automerge-action@v0.15.5
env:
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
- run: echo