use GitHub context to branch processing (#22)

This commit is contained in:
Naoki Oketani
2019-12-13 12:18:28 +09:00
committed by GitHub
parent ac19a7500b
commit 3e659c8c99
14 changed files with 3579 additions and 80 deletions

19
__tests__/testdata/audit/error.txt vendored Normal file
View File

@@ -0,0 +1,19 @@
=== npm audit security report ===
# Run npm update strapi --depth 1 to resolve 1 vulnerability
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Command Injection │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ strapi │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ strapi │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ strapi │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1424 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 high severity vulnerability in 897105 scanned packages
run `npm audit fix` to fix 1 of them.

5
__tests__/testdata/audit/success.txt vendored Normal file
View File

@@ -0,0 +1,5 @@
=== npm audit security report ===
found 0 vulnerabilities
in 892282 scanned packages