Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ“Œ Pin to v0.70.0 trivy

Alicia Sykes2743674e1f22
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e1a941cf..4fff70f8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,6 +21,7 @@ jobs:
workflows: ${{ steps.filter.outputs.workflows }}
locales: ${{ steps.filter.outputs.locales }}
translations: ${{ steps.filter.outputs.translations }}
+ src: ${{ steps.filter.outputs.src }}
steps:
- name: Checkout Code
uses: actions/checkout@v6
@@ -41,10 +42,18 @@ jobs:
- 'tests/locales/**'
translations:
- 'src/assets/locales/**'
+ src:
+ - 'src/**'
+ - 'package.json'
+ - 'yarn.lock'
+ - 'eslint.config.mjs'
+ - 'tsconfig.json'
lint:
name: πŸ›‘οΈ Lint
runs-on: ubuntu-latest
+ needs: changes
+ if: needs.changes.outputs.src == 'true'
steps:
- name: Checkout Code
uses: actions/checkout@v6
@@ -64,6 +73,8 @@ jobs:
typecheck:
name: 🦴 Typecheck
runs-on: ubuntu-latest
+ needs: changes
+ if: needs.changes.outputs.src == 'true'
steps:
- name: Checkout Code
uses: actions/checkout@v6
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 32b3053b..6bd3db38 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -127,6 +127,7 @@ jobs:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db:2
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db:1
with:
+ version: v0.70.0
image-ref: dashy-scan:${{ matrix.arch }}
severity: CRITICAL
ignore-unfixed: true