Skip to content

Commit b50bc5e

Browse files
committed
debug 5
1 parent b0c545e commit b50bc5e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/label-validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
import os
2424
2525
# Print all PR labels
26-
print(f"All PR labels JSON: ${{ toJson(github.event.pull_request.labels) }}")
26+
labels_json = r'''${{ toJson(github.event.pull_request.labels) }}'''
27+
print("All PR labels JSON:")
28+
print(labels_json)
2729
28-
print(f"All PR labels: ${{ github.event.pull_request.labels }}")
29-
30-
labels = json.loads('${{ toJson(github.event.pull_request.labels) }}')
30+
labels = json.loads(labels_json)
3131
label_names = [label['name'] for label in labels]
3232
print(f"Label names: {label_names}")
3333

0 commit comments

Comments
 (0)