Skip to content

Commit 7104974

Browse files
committed
[DEVOPS-901] create zizmor config file to disable dependabot-cooldown
1 parent 927273f commit 7104974

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/reusable-zizmor-security.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
with:
1818
persist-credentials: false
1919

20+
- name: Create Zizmor config if not exists
21+
run: |
22+
if [ ! -f zizmor.yml ]; then
23+
cat > zizmor.yml << 'EOF'
24+
rules:
25+
dependabot-cooldown:
26+
disable: true
27+
EOF
28+
fi
29+
2030
- name: Run Zizmor Security Scan
2131
continue-on-error: true
2232
uses: zizmorcore/zizmor-action@5ca5fc7a4779c5263a3ffa0e1f693009994446d1

0 commit comments

Comments
 (0)