k3s-infra/.github/workflows/auto-pr.yaml
2023-10-08 14:22:30 +02:00

22 lines
517 B
YAML

name: Staging Auto-PR
on:
create:
branches: ['ci-update']
jobs:
pull-request:
name: Open PR to main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: checkout
- uses: repo-sync/pull-request@v2
name: pull-request
with:
destination_branch: "main"
pr_title: "Pulling ${{ github.ref }} into main"
pr_body: "👑 *An automated PR*"
pr_reviewer: "kingdonb"
pr_draft: true
github_token: ${{ secrets.GITHUB_TOKEN }}