Skip to content

Auto merge connector PRs Cron #1

Auto merge connector PRs Cron

Auto merge connector PRs Cron #1

Workflow file for this run

name: Auto merge connector PRs Cron
on:
schedule:
# 0AM UTC is 2AM CEST, 3AM EEST, 5PM PDT.
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
run_auto_merge:
name: Run auto-merge
runs-on: ubuntu-latest
permissions:
checks: read
actions: read
statuses: read
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
- name: Run auto merge
shell: bash
working-directory: airbyte-ci/connectors/auto_merge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUTO_MERGE_PRODUCTION: "true"
run: |
poetry install
poetry run auto-merge