Skip to content

Commit

Permalink
CI: fix docpreview permissions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pjonsson authored and omad committed Nov 30, 2023
1 parent 19e2fbb commit 1f7cd42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Docs QA

on:
pull_request:
pull_request_target:
paths:
- "**"

Expand Down

0 comments on commit 1f7cd42

Please sign in to comment.