From 93aeeacb4788dbb7152833bba1cf90abbacfd504 Mon Sep 17 00:00:00 2001 From: Wietze Date: Tue, 3 Oct 2023 17:21:42 +0100 Subject: [PATCH] Ensuring GitHub Actions isn't run twice on PR --- .github/workflows/yaml-linting.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/yaml-linting.yml b/.github/workflows/yaml-linting.yml index f01a963..f7247f4 100644 --- a/.github/workflows/yaml-linting.yml +++ b/.github/workflows/yaml-linting.yml @@ -4,6 +4,7 @@ on: [push,pull_request] jobs: lintFiles: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ubuntu-latest steps: - uses: actions/checkout@v3