FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.66k stars 1.1k forks source link

Coverity Scan Workflow Fix #891

Closed Skptak closed 9 months ago

Skptak commented 10 months ago

Description

Currently the Coverity Scan attempts to run on every fork that pulls the file.

Test Steps

Tests for this change can be seen at this PR I raised to my own repo. https://github.com/Skptak/FreeRTOS-Kernel/pull/3

Proof that this will cause a coverity scan to be triggered when a PR is merged can be seen here

Proof that the action will not run unless from FreeRTOS/FreeRTOS-Kernel can be seen here

Checklist:

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cb196dd) 93.67% compared to head (21c105a) 93.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #891 +/- ## ======================================= Coverage 93.67% 93.67% ======================================= Files 6 6 Lines 3177 3177 Branches 884 884 ======================================= Hits 2976 2976 Misses 94 94 Partials 107 107 ``` | [Flag](https://app.codecov.io/gh/FreeRTOS/FreeRTOS-Kernel/pull/891/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FreeRTOS) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/FreeRTOS/FreeRTOS-Kernel/pull/891/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FreeRTOS) | `93.67% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=FreeRTOS#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information