diff --git a/.github/scripts/watch.sh b/.github/scripts/watch.sh index bcbc6e851..e248a7c37 100755 --- a/.github/scripts/watch.sh +++ b/.github/scripts/watch.sh @@ -1,7 +1,7 @@ #!/bin/bash # Set the path to the snippets folder -WATCHER_PATH=$1 $2 +WATCHER_PATH=$1 ERROR_FOUND=0 # Find all files in the snippets folder diff --git a/.github/workflows/watcher.yml b/.github/workflows/watcher.yml index 67f8cf13b..ca6b26da6 100644 --- a/.github/workflows/watcher.yml +++ b/.github/workflows/watcher.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - ./.github/scripts/watch.sh ${{ inputs.path }} + ./.github/scripts/watch.sh 'snippets guides' id: watcher continue-on-error: true - name: Send custom JSON data to Slack workflow