💚 ci: fixing auto PR
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 31s
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 31s
This commit is contained in:
21
.github/workflows/auto-pr-from-mirror.yaml
vendored
21
.github/workflows/auto-pr-from-mirror.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Auto PR from Local Git Mirror
|
name: Auto PR from mirror-main
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -6,14 +6,15 @@ on:
|
|||||||
- mirror-main
|
- mirror-main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-pr:
|
pr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Create Pull Request
|
- name: Create PR via GitHub CLI
|
||||||
uses: peter-evans/create-pull-request@v8
|
env:
|
||||||
with:
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
run: |
|
||||||
branch: mirror-main
|
gh pr create \
|
||||||
base: main
|
--base main \
|
||||||
title: "Sync from local git mirror"
|
--head mirror-main \
|
||||||
body: "Automated PR created from local git mirror branch main."
|
--title "Sync from Gitea main" \
|
||||||
|
--body "Automated PR created from Gitea mirror branch."
|
||||||
|
|||||||
Reference in New Issue
Block a user