ci: update global workflows

This commit is contained in:
LizardByte-bot 2022-08-07 23:33:19 +00:00
commit 4d3c9b0be8
9 changed files with 104 additions and 22 deletions

View file

@ -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