Skip to content

Commit

Permalink
CI(backport): Refine label checker action
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Oct 2, 2024
1 parent 54eba99 commit 8e0be93
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,18 @@ jobs:
name: Check labels
runs-on: ubuntu-latest
outputs:
state: ${{ steps.check.label_check.success }}
state2: ${{ steps.check.success }}
state: ${{ steps.check.outputs.label_check.success }}
steps:
- id: check
uses: docker://agilepathway/pull-request-label-checker:latest
uses: agilepathway/label-checker@1.6.55
with:
prefix_mode: true
any_of: auto-backport-to-
repo_token: ${{ secrets.GITHUB_TOKEN }}
allow_failure: true

print_status:
needs: [ label_checker ]
runs-on: ubuntu-latest
steps:
- shell: bash
run: echo Output is >${{ needs.label_checker.outputs.state }}< (${{ needs.label_checker.outputs.state2 }})
- name: Print status
shell: bash
run: 'echo "Label detection status: ${{ label_checker.outputs.state }}"'


backport:
Expand Down

0 comments on commit 8e0be93

Please sign in to comment.