Skip to content

test

test #3

Workflow file for this run

name: backport pr
on:
pull_request:
types: [labeled, closed]
jobs:
backport:
name: Backport PR
if: |
github.repository_owner == 'edgelesssys' &&
github.event.pull_request.merged == true &&
(github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
- name: Backport Action
uses: sorenlouv/backport-github-action@f7073a2287aefc1fa12685eb25a712ab5620445c # v9.3.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
auto_backport_label_prefix: "backport to "
- name: Info log
if: success()
run: |
cat ~/.backport/backport.info.log
- name: Debug log
if: failure()
run: |
cat ~/.backport/backport.debug.log