mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-07-22 01:37:57 +08:00
fix: safely classify GitHub API errors (#822)
* refactor: harden GitHub error classification Signed-off-by: Rui Chen <rui@chenrui.dev> * test: define nested GitHub status handling Signed-off-by: Rui Chen <rui@chenrui.dev> --------- Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
+4
-4
@@ -7,10 +7,10 @@ export default defineConfig({
|
||||
reporter: ['text', 'json-summary', 'lcov'],
|
||||
include: ['src/**/*.ts'],
|
||||
thresholds: {
|
||||
statements: 88,
|
||||
branches: 83,
|
||||
functions: 86,
|
||||
lines: 88,
|
||||
statements: 94,
|
||||
branches: 90,
|
||||
functions: 95,
|
||||
lines: 94,
|
||||
},
|
||||
},
|
||||
include: ['__tests__/**/*.ts'],
|
||||
|
||||
Reference in New Issue
Block a user