Skip to content

Commit

Permalink
Test different approach
Browse files Browse the repository at this point in the history
  • Loading branch information
7h30n3 committed Aug 2, 2024
1 parent 1c3c2cc commit 0b74130
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Code Validation

on:
push:
branches:
- master
pull_request:

# Allow running this workflow manually from the Actions tab
Expand All @@ -10,8 +12,6 @@ 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
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/json_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: JSON Validation

on:
push:
branches:
- master
paths:
- '**/definition.json'
- '**/question_catalog_schema.json'
Expand All @@ -20,8 +22,6 @@ 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
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Tests

on:
push:
branches:
- master
pull_request:

# Allow running this workflow manually from the Actions tab
Expand All @@ -11,8 +13,6 @@ 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:

# Setup OSM website
Expand Down

0 comments on commit 0b74130

Please sign in to comment.