Skip to content

Commit

Permalink
debug 4
Browse files Browse the repository at this point in the history
  • Loading branch information
u-crew committed Mar 26, 2024
1 parent 02091d8 commit d9fd55a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions py-setup/snyk-catch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@

# Get payload from the evnents check_run
x = event_payload()
print(x)
print(type(x))
event_payload = json.loads(event_payload())
print(type(event_payload))
event_payload = event_payload()
# Check for snyk Open source license in pending state
if event_payload.context.startswith( "license/snyk") and event_payload.state == 'pending':
# Report that
Expand Down

0 comments on commit d9fd55a

Please sign in to comment.