-
Notifications
You must be signed in to change notification settings - Fork 2
feat/annotations #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat/annotations #97
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
b8e4aa4
Added snippet and full file annotations
Alex-1089 6413a71
Fixed line parsing issue
Alex-1089 530585b
Workaround for github annotation limit
Alex-1089 d0c3582
Fixing commit comments
Alex-1089 3df8399
Improved annotations. Added comment in conversation with link to deta…
Alex-1089 217adbb
Added direct link to edit scanoss.json in undeclared policy check
Alex-1089 b36d451
Added logic to link creation in undeclared policy check
Alex-1089 a8c37e7
Fixed link to scanoss.json
Alex-1089 037e512
Adding link auto create scanoss.json file
Alex-1089 4db04e1
Create link now adds json to scanoss.json
Alex-1089 5c719f3
Switched link to markdown
Alex-1089 ad9e30d
Chore: updated scanoss-py version to v1.32.0
Alex-1089 6b39958
Merge remote-tracking branch 'origin/main' into feat/annotations
Alex-1089 f2130d2
Fixed linting issues
Alex-1089 70fdb68
Updated Changelog. Added function to merge existing components in sca…
Alex-1089 82c6bf0
Fixing param matchAnnotations
Alex-1089 42b3e60
Added Scan exit code handling
Alex-1089 fc7ea53
Fixed unit tests
Alex-1089 773bea3
Nitpick Change
Alex-1089 634c1df
Fixed bug where policy checks were being added to the wrong job
Alex-1089 92f5996
Update test-action.yml
Alex-1089 06ad6d8
Fixing job attachment bug
Alex-1089 0e7d941
Merge remote-tracking branch 'origin/feat/annotations' into feat/anno…
Alex-1089 7ec1031
Fixing job attachment bug
Alex-1089 3950c98
Fixing job attachment bug
Alex-1089 416101a
Fixing job attachment bug
Alex-1089 f2fd429
Fixing job attachment bug
Alex-1089 71d5368
Fixing job attachment bug
Alex-1089 d24b114
Fixing job attachment bug
Alex-1089 61c1ec0
Fixing job attachment bug
Alex-1089 bd653a7
Reverting changes getting firstRunId
Alex-1089 87e6674
Update test-action.yml
Alex-1089 136bffe
Fixed logic for finding file matches
Alex-1089 f61ad75
Merge remote-tracking branch 'origin/feat/annotations' into feat/anno…
Alex-1089 1df3664
changed policies.halt_on_failure to false for test action
Alex-1089 a709818
Fixed tests. Cleaned code
Alex-1089 5465efd
Linting
Alex-1089 b6865be
Code fixes
Alex-1089 accbf9b
Linting
Alex-1089 16bcaae
Code organisation, documentation and improved error handling
Alex-1089 6a9dbef
Linting
Alex-1089 ef9c9c7
Fixed commit comment link
Alex-1089 7d70dc9
Fixed file preview inside commit comments
Alex-1089 c472e79
Linting
Alex-1089 678e171
Fixed file preview in commit comment
Alex-1089 04d852e
Made file preview scrollable
Alex-1089 a3c2553
Fixed scrollable file preview
Alex-1089 51d5214
Fixing scrollable file preview
Alex-1089 e1ba78f
Fixing scrollable file preview
Alex-1089 070ee33
Fixing scrollable file preview
Alex-1089 dacad2f
Fixing scrollable file preview
Alex-1089 27fec6e
Fixing scrollable file preview
Alex-1089 8fae301
Fixing scrollable file preview
Alex-1089 530974f
Fixing commit comment formatting
Alex-1089 9ace7e0
Fixing commit comment formatting
Alex-1089 18fb13a
Addressing coderabbit nitpick comments
Alex-1089 813ef4b
Addressing coderabbit nitpick comments
Alex-1089 a7eca31
Review fixes
Alex-1089 54dcc5c
Fixed logic
Alex-1089 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Invalid input id 'api.key' — dots aren’t allowed in action input names; value will likely be ignored.
GitHub Actions input IDs must start with a letter or “” and contain only alphanumerics, “-”, or “”. A dot “.” is invalid, and unless
action.yml
incorrectly declares the same dotted id, this won’t bind to the action’s inputs. Preferapi-key
orapi_key
, and ensure the metadata declares it. Alternatively, pass the secret via env if the action reads an env var. (docs.github.com)Apply one of these:
Option A — rename the input:
Option B — pass as environment variable (if the action reads SC_API_KEY/SCANOSS_API_KEY):
Run to verify the input is properly declared and no dotted inputs exist:
🏁 Script executed:
Length of output: 18711
action.yml declares dotted input IDs (e.g.
api.key
) — dots are invalid; fix action metadata and workflows.GitHub input IDs must start with a letter or
_
and contain only alphanumerics,-
, or_
. (docs.github.com)api.key
,api.url
,dependencies.enabled
,dependencies.scope
/dependencies.scope.include
/dependencies.scope.exclude
,licenses.copyleft.*
,deptrack.apikey
, etc. (see action.yml).api-key
orapi_key
) and update workflows that set them (e.g. changeapi.key: ${{ secrets.SC_API_KEY }}
→api-key: ${{ secrets.SC_API_KEY }}
in .github/workflows/test-action.yml).🤖 Prompt for AI Agents