opendatacube / datacube-explorer

Web-based exploration of Open Data Cube collections
Apache License 2.0
54 stars 31 forks source link

CI: fix docpreview permissions #556

Closed pjonsson closed 7 months ago

pjonsson commented 7 months ago

According to

https://stackoverflow.com/questions/74957218/what-is-the-difference-between-pull-request-and-pull-request-target-event-in-git

there is something with permissions of tokens that differ between pull_request and pull_request_target, so switch to pull_request_target which is what the action documentation suggests.

codecov[bot] commented 7 months ago

Codecov Report

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

Comparison is base (19e2fbb) 85.88% compared to head (0fa911b) 85.88%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #556 +/- ## ======================================== Coverage 85.88% 85.88% ======================================== Files 26 26 Lines 3457 3457 ======================================== Hits 2969 2969 Misses 488 488 ```

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

pjonsson commented 7 months ago

A similar change works in the datacube-ows repository (the documentation-trigger will only start to work for outsiders once it is merged to main).