CI(backport): Fix workflow file

This commit is contained in:
Robert Adam 2024-09-30 19:52:20 +02:00
parent 87eb07a227
commit b4a116c10e

View File

@ -5,9 +5,8 @@ on:
types: ["labeled", "closed"]
jobs:
backport:
- name: Check labels
id: label_check
label_check:
name: Check labels
uses: docker://agilepathway/pull-request-label-checker:latest
with:
prefix_mode: true
@ -15,7 +14,8 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
allow_failure: true
- name: Backport PR
backport:
name: Backport PR
if: github.event.pull_request.merged == true && steps.label_check.outputs.label_check == 'success'
runs-on: ubuntu-latest
steps: