c7d64a8062
Co-authored-by: agent-dev-b <agent-dev-b@agents.moleculesai.app> Co-committed-by: agent-dev-b <agent-dev-b@agents.moleculesai.app>
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
name: gitea-merge-queue
|
|
on:
|
|
schedule:
|
|
- cron: '*/5 * * * *'
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
concurrency:
|
|
group: gitea-merge-queue-${{ github.repository }}
|
|
cancel-in-progress: false
|
|
jobs:
|
|
queue:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Check out queue script from main
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
ref: ${{ github.event.repository.default_branch }}
|
|
- name: Process one queued PR
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.AUTO_SYNC_TOKEN }}
|
|
GITEA_HOST: git.moleculesai.app
|
|
REPO: ${{ github.repository }}
|
|
WATCH_BRANCH: ${{ github.event.repository.default_branch }}
|
|
QUEUE_LABEL: merge-queue
|
|
HOLD_LABEL: merge-queue-hold
|
|
UPDATE_STYLE: merge
|
|
REQUIRED_CONTEXTS: "CI / Go build + test + vet (pull_request), CI / Shellcheck + wrapper tests (pull_request)"
|
|
run: python3 .gitea/scripts/gitea-merge-queue.py
|