Skip to content

Commit

Permalink
Do not deploy previews on PRs from forks
Browse files Browse the repository at this point in the history
As it currently does not work
  • Loading branch information
n-peugnet committed Jul 28, 2024
1 parent 7a42dd8 commit ce5e055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ jobs:
runs-on: ubuntu-latest
needs: html
concurrency: preview-${{ github.ref }}
if: github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: write
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency: preview-${{ github.ref }}
jobs:
preview:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit ce5e055

Please sign in to comment.