Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fix docpreview permissions #556

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

pjonsson
Copy link
Contributor

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.

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.
Copy link

codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pjonsson
Copy link
Contributor Author

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).

Copy link
Member

@omad omad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, lets see how it goes.

To be honest, I didn't even realise Explorer had a docs site!

@omad omad merged commit 1f7cd42 into opendatacube:develop Nov 30, 2023
6 checks passed
@pjonsson pjonsson deleted the ci-docpreview branch November 30, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants