diff --git a/README.md b/README.md index 3a855f0..a92998f 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,14 @@ jobs: ```yaml concurrency: preview-${{ github.ref }} on: - pull_request: + pull_request_target: types: - opened - reopened - synchronize - closed + branches: + - "**" permissions: contents: write pull-requests: write @@ -74,6 +76,12 @@ jobs: - uses: rossjrw/pr-preview-action@v1 ``` +> [!NOTE] +> [rossjrw/pr-preview-action](https://github.com/rossjrw/pr-preview-action) +> doesn't support forked repositories. +> Note the use of `pull_request_target` and `branches` as a +> work-around with the caveat that previews only show HTML changes. + ## License This project is licensed under the MIT license, see LICENSE file for details.