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