-
Notifications
You must be signed in to change notification settings - Fork 50
Add KBs for actions #1133
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
Open
RksRocks
wants to merge
24
commits into
step-security:main
Choose a base branch
from
RksRocks:knowledge-base
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add KBs for actions #1133
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ab0b5b6
KB-added
lmaoo2 d27f4f9
KB Added
lmaoo2 fd1f2e7
KB added
lmaoo2 a31a612
KB added
lmaoo2 280a690
KB added
lmaoo2 6e978f9
KB added
lmaoo2 bda9770
KB added
lmaoo2 b60802c
Rename knowledge-base/actions/ArtiomTr/jest-coverage-report-action/ac…
RksRocks db31fda
Rename knowledge-base/actions/artiomtrjest/coverage-report-action/act…
RksRocks a05d0af
KB added
lmaoo2 fa7f228
Merge branch 'knowledge-base' of https://github.com/RksRocks/secure-w…
lmaoo2 a84215c
KB added
lmaoo2 d4fcb60
KB ADDED
lmaoo2 c061c94
Update action-security.yml
RksRocks 202e8f6
Update action-security.yml
RksRocks b1682f7
Update action-security.yml
RksRocks b38c82b
Update action-security.yml
RksRocks 7d8604e
Update action-security.yml
RksRocks c4184f5
Update action-security.yml
RksRocks 729c1ab
Update action-security.yml
RksRocks 3eaad83
Add KBs for actions
lmaoo2 9017502
Add Kbs for actions
lmaoo2 2d0f7c2
Merge branch 'step-security:main' into knowledge-base
RksRocks e92579c
Update action-security.yml
RksRocks 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
11 changes: 11 additions & 0 deletions
11
knowledge-base/actions/artiomtr/jest-coverage-report-action/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| name: "jest coverage report " | ||
| github-token: | ||
| action-input: | ||
| input: github-token | ||
| is-default: true | ||
| permissions: | ||
| pull-requests: read | ||
| pull-requests-reason: to check code coverage of pr | ||
| issues: write | ||
| issues-reason: to comment the codecoverage to pr | ||
| #Reference: https://github.com/ArtiomTr/jest-coverage-report-action/blob/e1023a86c8d1ba542bfaa9a18a9efe55ef494c8a/src/typings/Options.ts | ||
2 changes: 2 additions & 0 deletions
2
knowledge-base/actions/codesee-io/codesee-map-action/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| name: "codesee-map-action" | ||
| #Note: github token not used. |
9 changes: 9 additions & 0 deletions
9
knowledge-base/actions/dbelyaev/action-checkstyle/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: "Checkstyle for Java GitHub Action" | ||
| github-token: | ||
| action-input: | ||
| input: github_token | ||
| is-default: true | ||
| permissions: | ||
| pull-requests: read | ||
| pull-requests-reason: to analyse the pull requests | ||
| #Reference: https://github.com/dbelyaev/action-checkstyle/blob/956b3848022aa1a3d74861d81f9d0b6853c17d36/README.md |
7 changes: 7 additions & 0 deletions
7
knowledge-base/actions/dwenegar/upload-release-assets/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| name: "GitHub Release Assets Upload Action" | ||
| github-token: | ||
| environment-variable-name: GITHUB_TOKEN | ||
| permissions: | ||
| contents: write | ||
| contents-reason: to upload release assets | ||
| #Reference: https://github.com/dwenegar/upload-release-assets/blob/fc5bc557b51cf4fc168f11bebc1e20a17949f0d2/src/upload-release-assets.ts#L50 |
16 changes: 16 additions & 0 deletions
16
knowledge-base/actions/enricomi/publish-unit-test-result-action/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: "Publish Unit Test Results" | ||
| github-token: | ||
| action-input: | ||
| input: github_token | ||
| is-default: true | ||
| permissions: | ||
| contents: read | ||
| contents-reason: to fetch code | ||
| issues: read | ||
| issues-reason: to get issues | ||
| checks: write | ||
| checks-reason: to check test results | ||
| pull-requests: write | ||
| pull-requests-reason: to post comment on PR | ||
| pull-requests-if: ${{ with['comment_mode'] != 'off' }} | ||
| #Reference: https://github.com/EnricoMi/publish-unit-test-result-action#permissions |
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
9 changes: 9 additions & 0 deletions
9
knowledge-base/actions/megalinter/megalinter/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: "MegaLinter, by OX Security" | ||
| github-token: | ||
| environment-variable-name: GITHUB_TOKEN | ||
| permissions: | ||
RksRocks marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| pull-requests: read | ||
| pull-requests-reason: to analyse code consistency in pr | ||
| issues: write | ||
| issues-reason: to comment report summary | ||
| #Reference: https://github.com/step-security/secure-workflows/pull/1133/files/d4fcb60aea817162cd93d6b6fd6ff928a284f747#r968159151 | ||
2 changes: 2 additions & 0 deletions
2
knowledge-base/actions/sonarsource/sonarqube-scan-action/action-security.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| name : "Scan your code with SonarQube" | ||
| #Note: github token not used. |
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
@RksRocks, I think there is:
pull-request: readpermission to check code coverage of prissues: writeto comment the code-coverage to pr@varunsh-coder please review the permissions for this action, as some additional permission is needed for
on: pushtrigger. check here, here.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.
@varunsh-coder please review it's permission, I think it is related to this issue #1161