Skip to content

Commit

Permalink
Change conclusion check
Browse files Browse the repository at this point in the history
  • Loading branch information
Isengo1989 committed Dec 6, 2023
1 parent 3967cde commit 825e559
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/watch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ file_contains(){
if [[ $FILE_CONTENT == *"$WATCHER_CONTAINS"* ]]; then
echo "String found - nice!"
else
echo "String not found - not nice!"
echo "String not found - not nice! Please check $WATCHER_URL"
exit 1
#curl -X POST -H 'Content-type: application/json' --data '{"text":"String not found - not nice!"}' $SLACK_WEBHOOK
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/watcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Block: GitHub Action build result: ${{ job.status }}"
"text": "Failed file watcher: Please check ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion snippets/config/html_sanitizer.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {"WATCHER_URL":"https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/Framework/Resources/config/packages/shopware.yaml","WATCHER_HASH":"183f85ba8f15e8e7d0006b70be20940f","WATCHER_CONTAINS":"html_sanitizer"}
# {"WATCHER_URL":"https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/Framework/Resources/config/packages/shopware.yaml","WATCHER_HASH":"183f85ba8f15e8e7d0006b70be20940f","WATCHER_CONTAINS":"html_sanitizerU"}
shopware:
html_sanitizer:
sets:
Expand Down

0 comments on commit 825e559

Please sign in to comment.