Skip to content

Commit

Permalink
Update clustertool.tests.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kjeld Schouten <[email protected]>
  • Loading branch information
PrivatePuffin authored Oct 19, 2024
1 parent f5b4268 commit 09204a1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/clustertool.tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ jobs:

check_changes:
runs-on: ubuntu-latest
outputs:
changes_detected: ${{ steps.filter.outputs.changed }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Check for changes in specific folder
id: check_changes
run: |
if git diff --exit-code HEAD^ HEAD -- clustertool; then
echo "No changes detected in the folder."
echo "::set-output name=changes_detected::false"
else
echo "Changes detected in the folder."
echo "::set-output name=changes_detected::true"
fi
- name: Filter paths
id: filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
with:
list-files: json
filters: |
changed:
- 'clustertool/**'
build:
runs-on: actions-runners
Expand Down

0 comments on commit 09204a1

Please sign in to comment.