mirror of https://github.com/samply/bridgehead.git
28 lines
713 B
YAML
28 lines
713 B
YAML
name: Backport to Feature Branch
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
branches:
|
|
- test/backport
|
|
|
|
jobs:
|
|
backport:
|
|
name: Backport PR 2
|
|
if: github.event.pull_request.merged == true
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Backport Action
|
|
uses: sorenlouv/backport-github-action@v9.5.1
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
auto_backport_label_prefix: backport-to-test/backport-target
|
|
add_original_reviewers : 'PierreDelpy'
|
|
|
|
- name: Info log
|
|
if: ${{ success() }}
|
|
run: cat ~/.backport/backport.info.log
|
|
|
|
- name: Debug log
|
|
if: ${{ failure() }}
|
|
run: cat ~/.backport/backport.debug.log |