| 1 | name: opsec |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | push: |
| 6 | branches: [main] |
| 7 | |
| 8 | permissions: |
| 9 | contents: read |
| 10 | |
| 11 | env: |
| 12 | FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true |
| 13 | |
| 14 | jobs: |
| 15 | scan: |
| 16 | runs-on: ubuntu-latest |
| 17 | steps: |
| 18 | - uses: actions/checkout@v4 |
| 19 | with: |
| 20 | fetch-depth: 0 |
| 21 | - name: Run opsec scanner |
| 22 | run: bash scripts/opsec-scan.sh |