Skip to content

Commit 09b430f

Browse files
committed
Add Destructive Command Guard workflow
1 parent 8501a5a commit 09b430f

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Destructive Command Guard
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
scan:
12+
name: Scan destructive commands
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Run Destructive Command Guard
19+
uses: Dicklesworthstone/destructive_command_guard/action@v0
20+
with:
21+
paths: .
22+
fail-on: error
23+
format: pretty

0 commit comments

Comments
 (0)