Skip to content

Commit 232b102

Browse files
authored
declare new auto_merge scheduled workflow (#38022)
1 parent 9179ec5 commit 232b102

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/auto_merge.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Auto merge connector PRs Cron
2+
3+
on:
4+
schedule:
5+
# 0AM UTC is 2AM CEST, 3AM EEST, 5PM PDT.
6+
- cron: "0 0 * * *"
7+
workflow_dispatch:
8+
jobs:
9+
run_auto_merge:
10+
name: Run auto-merge
11+
runs-on: ubuntu-latest
12+
permissions:
13+
checks: read
14+
actions: read
15+
statuses: read
16+
contents: read
17+
pull-requests: write
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: "3.10"
25+
- name: Install and configure Poetry
26+
uses: snok/install-poetry@v1
27+
- name: Run auto merge
28+
shell: bash
29+
working-directory: airbyte-ci/connectors/auto_merge
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
AUTO_MERGE_PRODUCTION: "true"
33+
run: |
34+
poetry install
35+
poetry run auto-merge

0 commit comments

Comments
 (0)