Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
83303c0b
Commit
83303c0b
authored
Apr 07, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Run package_hunter on MRs that updates yarn.lock
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
2af94e1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
.gitlab/ci/reports.gitlab-ci.yml
.gitlab/ci/reports.gitlab-ci.yml
+2
-1
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+6
-0
No files found.
.gitlab/ci/reports.gitlab-ci.yml
View file @
83303c0b
...
...
@@ -143,12 +143,13 @@ dependency_scanning gemnasium-python:
# See https://gitlab.com/gitlab-com/gl-security/security-research/package-hunter
package_hunter
:
extends
:
-
.reports:rules:
schedule-dast
-
.reports:rules:
package_hunter
stage
:
test
image
:
name
:
registry.gitlab.com/gitlab-com/gl-security/security-research/package-hunter-cli:latest
entrypoint
:
[
"
"
]
needs
:
[]
allow_failure
:
true
script
:
-
rm -r spec locale .git app/assets/images doc/
-
cd .. && tar -I "gzip --best" -cf gitlab.tgz gitlab/
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
83303c0b
...
...
@@ -995,6 +995,12 @@
-
<<
:
*if-default-branch-schedule-nightly
allow_failure
:
true
.reports:rules:package_hunter:
rules
:
-
<<
:
*if-default-branch-schedule-2-hourly
-
<<
:
*if-merge-request
changes
:
[
"
yarn.lock"
]
.reports:rules:license_scanning:
rules
:
-
if
:
'
$LICENSE_SCANNING_DISABLED
||
$GITLAB_FEATURES
!~
/\blicense_scanning\b/'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment