-
-
Save KyMidd/fce1b9e9a75702a9f35f57aa33e7cee0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Define function | |
| def build_headers(): | |
| # Create headers for sbom request | |
| headers = { | |
| "Accept": "application/vnd.github.v3+json", | |
| "Authorization": "Bearer "+GITHUB_TOKEN, | |
| } | |
| return headers | |
| # Build headers | |
| headers = build_headers() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment