-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
Please resolve the merge conflict. |
There appears to be an issue with the way The GitHub action is using a container to run It runs {
"runs": [
{
"taxonomies": [
{
"downloadUri": "https://cwe.mitre.org/data/xml/cwec_v4.4.xml.zip",
"guid": "f2856fc0-85b7-373f-83e7-6f8582243547",
"informationUri": "https://cwe.mitre.org/data/published/cwe_v4.4.pdf/",
"isComprehensive": true,
"language": "en",
"minimumRequiredLocalizedDataSemanticVersion": "4.4",
"name": "CWE",
"organization": "MITRE",
"releaseDateUtc": "2021-03-15",
"shortDescription": {
"text": "The MITRE Common Weakness Enumeration"
},
"version": "4.4"
}
],
"tool": {
"driver": {
"guid": "8b518d5f-906d-39f9-894b-d327b1a421c5",
"informationUri": "https://github.com/securego/gosec/",
"name": "gosec",
"semanticVersion": "dev",
"supportedTaxonomies": [
{
"guid": "f2856fc0-85b7-373f-83e7-6f8582243547",
"name": "CWE"
}
],
"version": "dev"
}
}
}
],
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0"
} Locally, Running {
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"version": "2.1.0",
"runs": [
{
"tool": {
"driver": {
"name": "gosec",
"version": "2.1.0",
"informationUri": "https://github.com/securego/gosec/"
}
},
"results": []
}
]
} @xukaren Do you know of any obvious causes for this issue? If not, I can look into it more later. |
@djaglowski I am getting the same sarif file on my local run with
I'll investigate further into why the codeql /upload-sarif action is requiring a |
Really appreciate you looking into it @xukaren. I'll remove the sarif file as suggested. |
I just checked other repos as well which does not seem to have SARIF uploading either (e.g. Go). Perhaps it is fine to leave it as is without the automatic alerts, since it is already checking on every PR not only just checking on a routine basis. |
|
Codecov Report
@@ Coverage Diff @@
## main #157 +/- ##
=======================================
- Coverage 75.9% 75.6% -0.4%
=======================================
Files 95 95
Lines 4347 4362 +15
=======================================
- Hits 3301 3299 -2
- Misses 730 740 +10
- Partials 316 323 +7
|
I would like to get #157 merged in, but the changes are almost entirely difficult to test error cases. I'm not suggesting that these are unimportant, but that there are more important things to do right now. We can set this higher later, and increase coverage over time.
I would like to get #157 merged in, but the changes are almost entirely difficult to test error cases. I'm not suggesting that these are unimportant, but that there are more important things to do right now. We can set this higher later, and increase coverage over time.
-no-fail
flag fromgosec