TypeError: string #63
Unanswered
KirtiMenon95
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to use this action by writing below workflow
name: GitHub Advanced Security API to CSV
on:
push:
branches:
- main
jobs:
generate-report:
runs-on: ubuntu-latest
when running the action I see error
Traceback (most recent call last):
File "/app/main.py", line 129, in
Starting GitHub security report...
code_scanning.write_repo_cs_list(cs_list)
File "/app/src/code_scanning.py", line 87, in write_repo_cs_list
if cs["state"] == "open":
~~^^^^^^^^^
TypeError: string indices must be integers, not 'str'
Please help me get this sorted.
Beta Was this translation helpful? Give feedback.
All reactions