Skip to content

Commit 7a1bbc3

Browse files
committed
More debug
1 parent 9bd7d02 commit 7a1bbc3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ jobs:
1818
run: |
1919
echo "Please apply a backport label, or "skip-backport" if no backport is needed"
2020
echo "Current labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}"
21-
false
21+
echo "${{ contains(github.event.pull_request.labels.*.name, 'backport') }}"
22+
echo "${{ endsWith(github.event.pull_request.labels.*.name, 'backport') }}"
23+
echo "${{ startsWith(github.event.pull_request.labels.*.name, 'backport') }}"
24+
echo "${{ github.event.pull_request.labels.*.name == 'skip-backport') }}"
25+
exit 1

0 commit comments

Comments
 (0)