From 1c3c2ccb718b108606b98c6e4316b6e9e8c1ea15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Apitzsch?= Date: Mon, 1 Jul 2024 16:35:49 +0200 Subject: [PATCH] Add comments to if conditions --- .github/workflows/code_validation.yml | 1 + .github/workflows/json_validation.yml | 1 + .github/workflows/tests.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/code_validation.yml b/.github/workflows/code_validation.yml index ce57a24c..9c0201ca 100644 --- a/.github/workflows/code_validation.yml +++ b/.github/workflows/code_validation.yml @@ -10,6 +10,7 @@ on: jobs: validate: runs-on: ubuntu-latest + # Trigger an action on push OR pull request but not both. The second event will be skipped. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout diff --git a/.github/workflows/json_validation.yml b/.github/workflows/json_validation.yml index 67b3f3eb..38404e3a 100644 --- a/.github/workflows/json_validation.yml +++ b/.github/workflows/json_validation.yml @@ -20,6 +20,7 @@ on: jobs: validate: runs-on: ubuntu-latest + # Trigger an action on push OR pull request but not both. The second event will be skipped. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: - name: Checkout diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f3224d89..95fe7df5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,6 +11,7 @@ jobs: tests: name: App Tests runs-on: ubuntu-latest + # Trigger an action on push OR pull request but not both. The second event will be skipped. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: