Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plug credential leak in actions/checkout #10

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: go/
- name: run gosec
uses: securego/gosec@master
Expand All @@ -48,22 +49,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: go/
- name: run govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.19.0
go-package: ./...
go-version-input: 1.19.0
go-package: ./...
# this action doesn't produce a SARIF report yet, so there's nothing to upload.
# See: https://github.com/golang/go/issues/61347
tfsec:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: terraform/
- name: run tfsec
uses: aquasecurity/[email protected]
Expand All @@ -81,8 +84,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: python/
- uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -110,8 +114,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: terraform/
- name: run chekov
uses: bridgecrewio/checkov-action@v12
Expand All @@ -129,8 +134,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: bicep/
- name: run chekov
uses: bridgecrewio/checkov-action@v12
Expand All @@ -150,8 +156,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: go/
- name: codeql init
uses: github/codeql-action/init@v2
Expand All @@ -172,8 +179,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: python/
- name: codeql init
uses: github/codeql-action/init@v2
Expand All @@ -194,8 +202,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
sparse-checkout: python/
- uses: pypa/[email protected]
with:
Expand Down
Loading