Skip to content

Commit 49ef1ca

Browse files
authored
Merge pull request #114 from github/xavier-patch
Simplify the workflow
2 parents ca9a90a + 8b1a05e commit 49ef1ca

4 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/actions/replicate/__tests__/replicate.test.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/replicate/__tests__/replicate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const TEST_GENERATED_ISSUE: replicate.Issue = {
7777
bountyType: 'All For One',
7878
body: `Original external [issue](https://github.com/test_owner/test_repo/issues/1)
7979
80-
Sumitted by [ghsecuritylab](https://github.com/ghsecuritylab)
80+
Submitted by [ghsecuritylab](https://github.com/ghsecuritylab)
8181
8282
# This is the issue title
8383
This is the issue body first line

.github/actions/replicate/replicate.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/replicate/replicate.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ type CommentMap = {[K in BountyType]: string}
99
export type Issue = {title: string, body: string, labels: string[], bountyType: BountyType}
1010

1111
const COMMENT_TASK_LIST_AFO = `## Task List
12-
- [ ] Initial assessment - Please record your decision in the comment below
13-
- [ ] CodeQL
14-
- [ ] Security Lab
15-
- [ ] CodeQL: Generate result set and post the URL in the comment
16-
- [ ] Security Lab assessment:
17-
- [ ] Assess the Vulnerability Impact, the Vulnerability Scope, and the False Positive ratio based on the provided CodeQL result set
12+
- [ ] CodeQL Initial assessment - In case of rejection, please record your decision in the comment below:
13+
- [ ] Acceptance
14+
- [ ] Generate result set and post the URL in the comment
15+
- [ ] Security Lab assessment - In case of rejection, please record your decision in the comment below:
16+
- [ ] Acceptance
17+
- [ ] Score the Vulnerability Impact, the Vulnerability Scope, and the False Positive ratio based on the provided CodeQL result set
18+
- [ ] Document your assessments in comments below, for the CodeQL team
1819
- [ ] Provide feedback to the author in the PR
1920
- [ ] CodeQL assessment:
20-
- [ ] Assess the Code Maturity and the Documentation
2121
- [ ] Provide feedback to the author in the PR
2222
- [ ] Merge the PR into the experimental folder
23-
- [ ] Score - Both teams fill the score table according to the version of the PR merged into the repository
23+
- [ ] Score the Code Maturity and the Documentation
2424
- [ ] Bounty Payment
2525
`
2626

2727
const COMMENT_TASK_LIST_BS = `## Task List
28-
- [ ] Initial assessment from Security Lab
2928
- [ ] Security Lab assessment:
29+
- [ ] Acceptance
3030
- [ ] Confirm the CVE
3131
- [ ] Assess the Vulnerability Impact, the Vulnerability Scope
3232
- [ ] Get the CodeQL scores (False Positive ratio, Code Maturity and the Documentation) from the previous query rating

0 commit comments

Comments
 (0)