Skip to content

Commit 5f370db

Browse files
committed
Improve
1 parent a7b6b8c commit 5f370db

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/check-backport-labels.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,5 @@ jobs:
1414

1515
steps:
1616
- name: "Check backport label"
17-
if: "!contains(github.event.pull_request.labels.*.name, 'backport')"
1817
run: |
19-
echo "Please apply a backport label, or "skip-backport" if no backport is needed"
20-
echo "Current labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}"
21-
echo "${{ contains(github.event.pull_request.labels.*.name, 'backport') }}"
22-
echo "${{ contains(github.event.pull_request.labels.*.name, 'skip-backport') }}"
23-
echo "${{ endsWith(github.event.pull_request.labels.*.name, 'backport') }}"
24-
echo "${{ startsWith(github.event.pull_request.labels.*.name, 'backport') }}"
25-
echo "${{ github.event.pull_request.labels.*.name == 'skip-backport' }}"
26-
exit 1
18+
echo "Current labels: ${{ toJSON(github.event) }}"

0 commit comments

Comments
 (0)