We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b50bc5e commit dff50caCopy full SHA for dff50ca
1 file changed
.github/workflows/label-validation.yml
@@ -22,12 +22,7 @@ jobs:
22
import re
23
import os
24
25
- # Print all PR labels
26
- labels_json = r'''${{ toJson(github.event.pull_request.labels) }}'''
27
- print("All PR labels JSON:")
28
- print(labels_json)
29
-
30
- labels = json.loads(labels_json)
+ labels = json.loads(r'''${{ toJson(github.event.pull_request.labels) }}''')
31
label_names = [label['name'] for label in labels]
32
print(f"Label names: {label_names}")
33
0 commit comments