2023-05-30 07:31:00 +02:00
|
|
|
name: files-changed
|
2023-05-25 03:33:31 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
outputs:
|
|
|
|
backend:
|
2023-05-30 07:31:00 +02:00
|
|
|
value: ${{ jobs.detect.outputs.backend }}
|
2023-05-25 03:33:31 +02:00
|
|
|
frontend:
|
2023-05-30 07:31:00 +02:00
|
|
|
value: ${{ jobs.detect.outputs.frontend }}
|
|
|
|
docs:
|
|
|
|
value: ${{ jobs.detect.outputs.docs }}
|
|
|
|
actions:
|
|
|
|
value: ${{ jobs.detect.outputs.actions }}
|
2023-06-14 20:17:58 +02:00
|
|
|
templates:
|
|
|
|
value: ${{ jobs.detect.outputs.templates }}
|
2023-06-19 04:53:20 +02:00
|
|
|
docker:
|
|
|
|
value: ${{ jobs.detect.outputs.docker }}
|
2023-05-25 03:33:31 +02:00
|
|
|
|
|
|
|
jobs:
|
2023-05-30 07:31:00 +02:00
|
|
|
detect:
|
2023-05-25 03:33:31 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 3
|
|
|
|
outputs:
|
|
|
|
backend: ${{ steps.changes.outputs.backend }}
|
|
|
|
frontend: ${{ steps.changes.outputs.frontend }}
|
2023-05-30 07:31:00 +02:00
|
|
|
docs: ${{ steps.changes.outputs.docs }}
|
|
|
|
actions: ${{ steps.changes.outputs.actions }}
|
2023-06-14 20:17:58 +02:00
|
|
|
templates: ${{ steps.changes.outputs.templates }}
|
2023-06-19 04:53:20 +02:00
|
|
|
docker: ${{ steps.changes.outputs.docker }}
|
2023-05-25 03:33:31 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-05-30 07:31:00 +02:00
|
|
|
- uses: dorny/paths-filter@v2
|
2023-05-25 03:33:31 +02:00
|
|
|
id: changes
|
|
|
|
with:
|
2023-05-30 07:31:00 +02:00
|
|
|
filters: |
|
|
|
|
backend:
|
|
|
|
- "**/*.go"
|
2023-06-14 20:17:58 +02:00
|
|
|
- "templates/**/*.tmpl"
|
2023-05-30 07:31:00 +02:00
|
|
|
- "go.mod"
|
|
|
|
- "go.sum"
|
2023-06-23 15:56:18 +02:00
|
|
|
- "Makefile"
|
2023-05-30 07:31:00 +02:00
|
|
|
|
|
|
|
frontend:
|
|
|
|
- "**/*.js"
|
|
|
|
- "web_src/**"
|
|
|
|
- "package.json"
|
|
|
|
- "package-lock.json"
|
2023-06-23 15:56:18 +02:00
|
|
|
- "Makefile"
|
2023-05-30 07:31:00 +02:00
|
|
|
|
|
|
|
docs:
|
|
|
|
- "**/*.md"
|
|
|
|
- "docs/**"
|
|
|
|
|
|
|
|
actions:
|
|
|
|
- ".github/workflows/*"
|
2023-06-14 20:17:58 +02:00
|
|
|
|
|
|
|
templates:
|
|
|
|
- "templates/**/*.tmpl"
|
2023-06-18 20:13:08 +02:00
|
|
|
- "poetry.lock"
|
2023-06-23 15:56:18 +02:00
|
|
|
|
2023-06-19 04:53:20 +02:00
|
|
|
docker:
|
|
|
|
- "Dockerfile"
|
|
|
|
- "Dockerfile.rootless"
|
|
|
|
- "docker/**"
|
2023-06-23 15:56:18 +02:00
|
|
|
- "Makefile"
|