mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-15 22:51:37 -07:00
github wf
This commit is contained in:
@@ -19,12 +19,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Check for absolute path URLs
|
- name: Check for absolute path URLs
|
||||||
run: |
|
run: |
|
||||||
if grep -r -E "\burl:\s*['\"]\/php" --include=\*.{js,php} .; then
|
if grep -rE "['\"]\/php\/" --include=\*.{js,php} .; then
|
||||||
echo "❌ Found absolute path URLs starting with '/php/'. Please use relative paths."
|
echo "❌ Found absolute path URLs starting with '/php/'. Please use relative paths."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "✅ No absolute path URLs found."
|
echo "✅ No absolute path URLs found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check Python syntax
|
- name: Check Python syntax
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user