damianszczepanik / cucumber-reporting

HTML reports for Cucumber
GNU Lesser General Public License v2.1
542 stars 403 forks source link

[GHA] Do not run github-pages unless on main repo #1159

Closed hazendaz closed 5 months ago

hazendaz commented 5 months ago

While the GH Pages upload shows a warning, it is also running this needlessly on forks to that point and shows green. This will prevent it from running at all so job appropriately shows disabled on forks.

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (a4d43b1) 98.27% compared to head (40a44d9) 98.27%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1159 +/- ## ========================================= Coverage 98.27% 98.27% Complexity 565 565 ========================================= Files 55 55 Lines 1214 1214 Branches 105 105 ========================================= Hits 1193 1193 Misses 10 10 Partials 11 11 ```

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

damianszczepanik commented 5 months ago

Nice PR - thanks!