mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-03 03:05:04 -04:00
BE: plugin input improvements
This commit is contained in:
1 parent
33003a4c4d
commit
f30d27db13
13 files changed
+187
-5
No files matched your search
@@ -127,3 +127,38 @@ jobs:
|
||||
- name: 🔍 Check for skill-pair drift
|
||||
continue-on-error: true
|
||||
run: python3 scripts/check_skill_pairs.py "origin/${{ github.base_ref }}"
|
||||
|
||||
check-devcontainer-dockerfile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔍 Check .devcontainer/Dockerfile is up to date
|
||||
run: |
|
||||
echo "Regenerating .devcontainer/Dockerfile from the root Dockerfile + .devcontainer/resources/devcontainer-Dockerfile..."
|
||||
cp .devcontainer/Dockerfile /tmp/devcontainer-dockerfile-committed
|
||||
bash .devcontainer/scripts/generate-configs.sh
|
||||
|
||||
if ! diff -q /tmp/devcontainer-dockerfile-committed .devcontainer/Dockerfile > /dev/null; then
|
||||
echo "❌ .devcontainer/Dockerfile is stale."
|
||||
echo "It's generated from the root Dockerfile and .devcontainer/resources/devcontainer-Dockerfile,"
|
||||
echo "not hand-edited. Run 'bash .devcontainer/scripts/generate-configs.sh' locally and commit the result."
|
||||
echo
|
||||
diff /tmp/devcontainer-dockerfile-committed .devcontainer/Dockerfile || true
|
||||
exit 1
|
||||
fi
|
||||
echo "✅ .devcontainer/Dockerfile is up to date."
|
||||
|
||||
check-dependency-mirroring:
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: 🔍 Check for dependency-mirroring gaps
|
||||
continue-on-error: true
|
||||
run: python3 scripts/check_dependency_mirroring.py "origin/${{ github.base_ref }}"
|
||||
Reference in new issue
Block a user