Skip to content

Commit

Permalink
ci/docs-preview: use pull_request_target
Browse files Browse the repository at this point in the history
Run code with access to the tokens on the target branch, *after* approval.
  • Loading branch information
NotAShelf committed Jan 19, 2025
1 parent 779af80 commit abd9176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Preview Manual

on:
workflow_dispatch:
pull_request:
pull_request_target:
types: [opened, synchronize, reopened, closed]
paths:
- ".github/workflows/docs-preview.yml"
Expand Down

0 comments on commit abd9176

Please sign in to comment.