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