Skip to content

PR Factory

PR Factory #9935

Workflow file for this run

name: PR Factory
on:
workflow_dispatch: {}
# Uncomment the following cron schedule to run this workflow every 30 minutes
# schedule:
# - cron: 0/30 * * * *
permissions:
pull-requests: write
contents: write
jobs:
create-pr:
# needs: merge-pr
runs-on: ubicloud
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main
- name: trunk install
uses: trunk-io/trunk-action/install@v1
with:
tools: gh
- uses: robinraju/[email protected]
with:
repository: trunk-io/mergequeue-tool
latest: true
tarBall: true
preRelease: false
extract: true
- name: run mq
id: edits
run: ./mq generate
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: run mq
if: always()
id: clean
run: ./mq housekeeping
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}