Skip to content

Commit

Permalink
fix docs workflow action for fork PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
fashxp committed Jun 30, 2023
1 parent fbe90c3 commit a031ca1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "Documentation"

on:
pull_request:
pull_request_target:
branches:
- "[0-9]+.[0-9]+"
- "[0-9]+.x"
Expand All @@ -27,7 +27,9 @@ jobs:
steps:
- name: "Checkout code"
uses: "actions/checkout@v3"

with:
repository: ${{ github.event.pull_request.repository.url }}
ref: ${{ github.event.pull_request.head.sha }}
- name: "Checkout Docs Generator"
uses: "actions/checkout@v3"
with:
Expand Down

0 comments on commit a031ca1

Please sign in to comment.