chore(standards): synced file(s) with hallelx2/dev-standards #13
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: security | |
| # Caller workflow. This exact file is SYNCED into every target repo by dev-standards, | |
| # so each repo runs the same security scanners on every PR with zero per-repo config. | |
| # It also runs here, scanning dev-standards itself. | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| security-events: write | |
| jobs: | |
| security: | |
| # Local reference — the reusable file is synced into THIS repo too, so each repo | |
| # is self-contained and this works whether dev-standards is public or private. | |
| uses: ./.github/workflows/security.reusable.yml | |
| secrets: inherit |