ci: fix a run condition in CI preview-release-notes (#5532)

This commit is contained in:
Masaya Suzuki 2024-04-16 16:06:47 +09:00 committed by GitHub
parent 69249882f3
commit 95fbd33daf
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' && github.repository == github.event.pull_request.head.repo.full_name == 'super-linter/super-linter'
if: github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name && github.repository == 'super-linter/super-linter'
runs-on: ubuntu-latest
permissions:
contents: read