From a1c890c1f28ca160979f861f6be7dba22c3c8ace Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Mon, 15 Apr 2024 20:50:35 +0900 Subject: [PATCH] ci: do not run by pull request from fork (#5506) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c431466..6bed8903 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' + 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