diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bed8903adc..5b63cc984a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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