mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-04 03:48:28 +02:00
Added auto PR for nightly builds
This commit is contained in:
parent
9fb346751c
commit
772122b255
24
.github/workflows/pr_to_nightly.yml
vendored
Normal file
24
.github/workflows/pr_to_nightly.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: Create PR to merge to nightly from staging
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- staging
|
||||
jobs:
|
||||
action-pull-request:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Run the Action
|
||||
if: startsWith(github.ref, 'refs/heads/feature')
|
||||
uses: devops-infra/action-pull-request@v0.5.0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
title: Automatic PR to nightly from ${{ github.event.repository.updated_at}}
|
||||
assignee: DerLinkman
|
||||
reviewer: DerLinkman
|
||||
label: upstream
|
||||
new_string: ${{ github.event.commits[0].message }}
|
||||
get_diff: true
|
Loading…
Reference in New Issue
Block a user