Skip to content

Commit

Permalink
better naming
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Mar 1, 2024
1 parent d108e1b commit e7d1b3e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/json-schema-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

jobs:
pre-check:
check-if-relevant-files-changed:
runs-on: ubuntu-latest
outputs:
run-check: ${{ steps.paths_filter.outputs.json_or_yaml }}
Expand All @@ -20,8 +20,8 @@ jobs:
- '**/config/*.param.yaml'
json-schema-check:
needs: pre-check
if: needs.pre-check.outputs.run-check == 'true'
needs: check-if-relevant-files-changed
if: needs.check-if-relevant-files-changed.outputs.run-check == 'true'
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand All @@ -31,8 +31,8 @@ jobs:
uses: autowarefoundation/autoware-github-actions/json-schema-check@v1

no-relevant-changes:
needs: pre-check
if: needs.pre-check.outputs.run-check == 'false'
needs: check-if-relevant-files-changed
if: needs.check-if-relevant-files-changed.outputs.run-check == 'false'
runs-on: ubuntu-latest
steps:
- name: Dummy step
Expand Down

0 comments on commit e7d1b3e

Please sign in to comment.