fix workflow

This commit is contained in:
Ulf Gebhardt 2024-10-29 10:36:17 +01:00
parent 4d9bb8bf83
commit 625c85cd45
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -4,17 +4,17 @@ on: push
jobs:
files-changed:
name: Detect File Changes - src/
name: Detect File Changes - lint
runs-on: ubuntu-latest
outputs:
src: ${{ steps.filter.outputs.src }}
lint: ${{ steps.filter.outputs.lint }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
src: |
src:
filters: |
lint:
- '.github/workflows/**/*'
- 'src/**/*'
@ -33,7 +33,7 @@ jobs:
# working-directory: ./frontend
lint:
if: needs.files-changed.outputs.src == 'true'
if: needs.files-changed.outputs.lint == 'true'
name: Lint
needs: files-changed
runs-on: ubuntu-latest