ci: update global workflows
This commit is contained in:
parent
8164c09ea0
commit
4d3c9b0be8
9 changed files with 104 additions and 22 deletions
8
.github/workflows/auto-create-pr.yml
vendored
8
.github/workflows/auto-create-pr.yml
vendored
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
# This action is centrally managed in https://github.com/<organization>/.github/
|
||||
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
|
||||
# the above-mentioned repo.
|
||||
|
|
@ -5,15 +6,12 @@
|
|||
name: Auto create PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
push:
|
||||
branches:
|
||||
- 'nightly'
|
||||
|
||||
jobs:
|
||||
create_pr:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
@ -25,7 +23,7 @@ jobs:
|
|||
with:
|
||||
source_branch: "" # should be "nightly" as it's the triggering branch
|
||||
destination_branch: "master"
|
||||
pr_title: "Pulling ${{ github.ref }} into master"
|
||||
pr_title: "Pulling ${{ github.ref_name }} into master"
|
||||
pr_template: ".github/pr_release_template.md"
|
||||
pr_assignee: "${{ secrets.GH_BOT_NAME }}"
|
||||
pr_draft: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue