Compare commits
8 Commits
1222381732
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| dfe44fdf3b | |||
| f5c6828302 | |||
| 54301ecdf6 | |||
| ef287c8868 | |||
| 6274df8e48 | |||
| c9c318c092 | |||
| 7cbc8fcccc | |||
| 27a469b169 |
@@ -34,10 +34,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
@@ -49,7 +49,13 @@ jobs:
|
||||
# trivy-action wrapper does nested checkouts and auth-juggling that
|
||||
# does not play well with Self-Hosted Gitea Actions, this is more
|
||||
# robust and a smaller surface.
|
||||
run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin
|
||||
#
|
||||
# Version pinned: the install script otherwise hits api.github.com to
|
||||
# resolve "latest", which is unauthenticated and burns through the
|
||||
# self-hosted runner's GitHub rate-limit on each push. Pinning skips
|
||||
# the API call entirely. Renovate-bot keeps the version current:
|
||||
# renovate: datasource=github-releases depName=aquasecurity/trivy
|
||||
run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.70.0
|
||||
|
||||
- name: Run Semgrep SAST
|
||||
# --config=auto pulls language-appropriate rule packs from semgrep.dev
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user