Add Destructive Command Guard workflow #3
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: Destructive Command Guard | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| name: Scan destructive commands | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Run Destructive Command Guard | |
| uses: Dicklesworthstone/destructive_command_guard/action@v0 | |
| with: | |
| paths: . | |
| fail-on: error | |
| format: pretty |