chore: pin GitHub Actions to commit SHAs and run mypy once (#9061)
This commit is contained in:
1 parent
26ab7c5a18
commit
19455b8e48
3 files changed
+14
-3
No files matched your search
@@ -26,7 +26,7 @@ jobs:
|
||||
docker build -t mealie --file=./docker/Dockerfile --build-context packages=dist .
|
||||
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@master
|
||||
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
with:
|
||||
ignore-unfixed: true
|
||||
image-ref: "mealie"
|
||||
|
||||
@@ -101,10 +101,12 @@ jobs:
|
||||
uv run pre-commit run --all-files --show-diff-on-failure --color=always
|
||||
|
||||
- name: Mypy Typecheck
|
||||
if: matrix.Database == 'sqlite'
|
||||
run: |
|
||||
mise run py:mypy
|
||||
|
||||
- name: Semgrep (authz rules)
|
||||
if: matrix.Database == 'sqlite'
|
||||
run: |
|
||||
mise run py:semgrep
|
||||
|
||||
|
||||
+11
-2
@@ -9,10 +9,12 @@
|
||||
"dockerfile",
|
||||
"npm",
|
||||
"mise",
|
||||
"custom.regex"
|
||||
"custom.regex",
|
||||
"github-actions"
|
||||
],
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
"config:recommended",
|
||||
"helpers:pinGitHubActionDigests"
|
||||
],
|
||||
"minimumReleaseAge": "5 days",
|
||||
"internalChecksFilter": "strict",
|
||||
@@ -33,6 +35,13 @@
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "One PR for all GitHub Actions updates. No auto-merge: these change what CI runs.",
|
||||
"matchManagers": [
|
||||
"github-actions"
|
||||
],
|
||||
"groupName": "github-actions"
|
||||
},
|
||||
{
|
||||
"matchManagers": [
|
||||
"npm"
|
||||
|
||||
Reference in new issue
Block a user