Skip to content
Discussion options

You must be logged in to vote

name: 🔒 Security & Code Quality Check

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * 0' # Weekly scan

jobs:
security-scan:
name: 🛡️ Security Hardened Scan
runs-on: ubuntu-latest

steps:
  - name: Checkout code
    uses: actions/checkout@v4
    with:
      fetch-depth: 0  # Full history for deeper analysis

  - name: 🔍 Unicode Safety & Homoglyph Detection
    run: |
      echo "Scanning for suspicious Unicode characters..."
      # Check for zero-width characters
      find . -name "*.swift" -exec grep -Pn "[\u200B-\u200D\uFEFF]" {} \; && echo "⚠️ Found zero-width spaces!" || echo "✅ No zero-width characters"
      
      # Check for non-AS…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bigabiga3210-ui
Comment options

@bigabiga3210-ui
Comment options

Answer selected by bigabiga3210-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Accessibility Making GitHub useable for members of the disability community Question Ask and answer questions about GitHub features and usage
2 participants