Pin Destructive Command Guard action to v0.4.5 #5
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.4.5 | |
| with: | |
| paths: . | |
| fail-on: error | |
| format: pretty |