Skip to content

Commit

Permalink
security: Do not persist git credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
dashmug committed Nov 25, 2024
1 parent f068e08 commit 2589e0a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -62,6 +64,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
fetch-depth: 0
- name: Diffset
id: diffset
Expand Down Expand Up @@ -95,6 +98,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
continue-on-error: true
Expand Down Expand Up @@ -123,6 +128,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Validate Dockerfile using hadolint
uses: hadolint/[email protected]
with:
Expand All @@ -133,6 +140,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Check Makefile for errors
uses: Uno-Takashi/checkmake-action@main

Expand All @@ -145,6 +154,8 @@ jobs:
security-events: write
steps:
- uses: actions/[email protected]
with:
persist-credentials: false
- name: Check code using Checkov
uses: bridgecrewio/checkov-action@master
with:
Expand Down

0 comments on commit 2589e0a

Please sign in to comment.