mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
29 lines
704 B
YAML
29 lines
704 B
YAML
name: Nix - GA Runner
|
|
|
|
on:
|
|
push:
|
|
branches: ["dev", "candidate", "release"]
|
|
pull_request:
|
|
branches: ["dev", "candidate", "release"]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
checkpatterns:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Check for suspicious patterns
|
|
run: |
|
|
if [ -f "suspicious_patterns.sh" ]; then
|
|
bash suspicious_patterns.sh
|
|
else
|
|
echo "Warning: suspicious_patterns.sh not found, skipping check"
|
|
# Still exit with success for compatibility with dependent jobs
|
|
exit 0
|
|
fi
|