Skip to content

Commit 9a343bf

Browse files
committed
ci(workflows): [ci] skip gitguardian job for @dependabot
- status checks and job dependencies require steps to be skipped individually Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 37b41c1 commit 9a343bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,15 @@ jobs:
142142
runs-on: ubuntu-latest
143143
steps:
144144
- id: checkout
145+
if: github.actor != 'dependabot[bot]'
145146
name: Checkout ${{ env.REF_NAME }}
146147
uses: actions/checkout@v4.2.2
147148
with:
148149
fetch-depth: 0
149150
persist-credentials: false
150151
ref: ${{ env.REF }}
151152
- id: scan
153+
if: github.actor != 'dependabot[bot]'
152154
name: Scan commits for secrets and policy breaches
153155
uses: GitGuardian/ggshield-action@v1.34.0
154156
env:

0 commit comments

Comments
 (0)