Skip to content

Commit

Permalink
trace more
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Dec 15, 2023
1 parent 63872b7 commit 8d55699
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ jobs:
run: |
python3 <<EOF
import os, json
with open(os.environ['GITHUB_EVENT_PATH'], 'r') as event:
labels = json.load(event)['pull_request']['labels']
with open(os.environ['GITHUB_EVENT_PATH'], 'r') as f:
event = json.load(f)
print(event)
labels = event['pull_request']['labels']
print(labels)
for label in labels:
if label.startswith('pipeline-'):
Expand Down

0 comments on commit 8d55699

Please sign in to comment.