feat: Add Developer Default Fee Configuration RPC Method #99
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Snapper Security Scan | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| security_scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Install Dependencies | |
| run: yarn install --immutable | |
| - name: Run Snapper Security Audit | |
| id: snapper_scan | |
| run: | | |
| yarn snapper:scan | tee snapper_output.log | |
| - name: Fail if Security Issues Are Found | |
| run: | | |
| total_issues=$(grep -oP 'Total issues found: \K\d+' snapper_output.log) | |
| if [ "$total_issues" -gt 0 ]; then | |
| echo "❌ Security issues detected ($total_issues issues)." | |
| echo "🛑 Logging security issues below:" | |
| cat result-*.json | jq . | |
| exit 1 | |
| else | |
| echo "✅ No security issues found!" | |
| fi |