ci: do not run by pull request from fork (#5506)

This commit is contained in:
Masaya Suzuki 2024-04-15 20:50:35 +09:00 committed by GitHub
parent 0ae4572874
commit a1c890c1f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,7 +217,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
preview-release-notes:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name == 'super-linter/super-linter'
runs-on: ubuntu-latest
permissions:
contents: read