Skip to content

Commit

Permalink
Add comments to if conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
7h30n3 committed Jul 1, 2024
1 parent 1d6b15a commit 1c3c2cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/json_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 1c3c2cc

Please sign in to comment.