feat(flags): add static cohort evaluation functionality to the new /flags
endpoint
#243422
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 if requested | |
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.16.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }} | |
- run: echo |