2023-05-30 01:31:00 -04:00
|
|
|
name: files-changed
|
2023-05-24 21:33:31 -04:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
outputs:
|
|
|
|
backend:
|
2023-05-30 01:31:00 -04:00
|
|
|
value: ${{ jobs.detect.outputs.backend }}
|
2023-05-24 21:33:31 -04:00
|
|
|
frontend:
|
2023-05-30 01:31:00 -04:00
|
|
|
value: ${{ jobs.detect.outputs.frontend }}
|
|
|
|
docs:
|
|
|
|
value: ${{ jobs.detect.outputs.docs }}
|
|
|
|
actions:
|
|
|
|
value: ${{ jobs.detect.outputs.actions }}
|
2023-06-14 14:17:58 -04:00
|
|
|
templates:
|
|
|
|
value: ${{ jobs.detect.outputs.templates }}
|
2023-06-18 22:53:20 -04:00
|
|
|
docker:
|
|
|
|
value: ${{ jobs.detect.outputs.docker }}
|
2023-06-29 10:37:41 -04:00
|
|
|
swagger:
|
|
|
|
value: ${{ jobs.detect.outputs.swagger }}
|
2023-09-07 22:24:06 -04:00
|
|
|
yaml:
|
|
|
|
value: ${{ jobs.detect.outputs.yaml }}
|
2023-05-24 21:33:31 -04:00
|
|
|
|
|
|
|
jobs:
|
2023-05-30 01:31:00 -04:00
|
|
|
detect:
|
2023-05-24 21:33:31 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 3
|
|
|
|
outputs:
|
|
|
|
backend: ${{ steps.changes.outputs.backend }}
|
|
|
|
frontend: ${{ steps.changes.outputs.frontend }}
|
2023-05-30 01:31:00 -04:00
|
|
|
docs: ${{ steps.changes.outputs.docs }}
|
|
|
|
actions: ${{ steps.changes.outputs.actions }}
|
2023-06-14 14:17:58 -04:00
|
|
|
templates: ${{ steps.changes.outputs.templates }}
|
2023-06-18 22:53:20 -04:00
|
|
|
docker: ${{ steps.changes.outputs.docker }}
|
2023-06-29 10:37:41 -04:00
|
|
|
swagger: ${{ steps.changes.outputs.swagger }}
|
2023-09-07 22:24:06 -04:00
|
|
|
yaml: ${{ steps.changes.outputs.yaml }}
|
2023-05-24 21:33:31 -04:00
|
|
|
steps:
|
2023-09-16 11:06:27 -04:00
|
|
|
- uses: actions/checkout@v4
|
2024-01-31 20:43:06 -05:00
|
|
|
- uses: dorny/paths-filter@v3
|
2023-05-24 21:33:31 -04:00
|
|
|
id: changes
|
|
|
|
with:
|
2023-05-30 01:31:00 -04:00
|
|
|
filters: |
|
|
|
|
backend:
|
|
|
|
- "**/*.go"
|
2023-06-14 14:17:58 -04:00
|
|
|
- "templates/**/*.tmpl"
|
2023-06-29 12:29:48 -04:00
|
|
|
- "assets/emoji.json"
|
2023-05-30 01:31:00 -04:00
|
|
|
- "go.mod"
|
|
|
|
- "go.sum"
|
2023-06-23 09:56:18 -04:00
|
|
|
- "Makefile"
|
2023-08-29 21:40:13 -04:00
|
|
|
- ".golangci.yml"
|
|
|
|
- ".editorconfig"
|
2024-03-05 20:48:14 -05:00
|
|
|
- "options/locale/locale_en-US.ini"
|
2023-05-30 01:31:00 -04:00
|
|
|
|
|
|
|
frontend:
|
|
|
|
- "**/*.js"
|
|
|
|
- "web_src/**"
|
2023-06-29 12:29:48 -04:00
|
|
|
- "assets/emoji.json"
|
2023-05-30 01:31:00 -04:00
|
|
|
- "package.json"
|
|
|
|
- "package-lock.json"
|
2023-06-23 09:56:18 -04:00
|
|
|
- "Makefile"
|
2023-08-29 21:40:13 -04:00
|
|
|
- ".eslintrc.yaml"
|
|
|
|
- ".stylelintrc.yaml"
|
|
|
|
- ".npmrc"
|
2023-05-30 01:31:00 -04:00
|
|
|
|
|
|
|
docs:
|
|
|
|
- "**/*.md"
|
|
|
|
- "docs/**"
|
2023-08-29 21:40:13 -04:00
|
|
|
- ".markdownlint.yaml"
|
2023-09-16 09:23:06 -04:00
|
|
|
- "package.json"
|
|
|
|
- "package-lock.json"
|
2023-05-30 01:31:00 -04:00
|
|
|
|
|
|
|
actions:
|
|
|
|
- ".github/workflows/*"
|
2023-09-16 09:23:06 -04:00
|
|
|
- "Makefile"
|
2023-06-14 14:17:58 -04:00
|
|
|
|
|
|
|
templates:
|
|
|
|
- "templates/**/*.tmpl"
|
2023-08-29 21:40:13 -04:00
|
|
|
- "pyproject.toml"
|
2023-06-18 14:13:08 -04:00
|
|
|
- "poetry.lock"
|
2023-06-23 09:56:18 -04:00
|
|
|
|
2023-06-18 22:53:20 -04:00
|
|
|
docker:
|
|
|
|
- "Dockerfile"
|
|
|
|
- "Dockerfile.rootless"
|
|
|
|
- "docker/**"
|
2023-06-23 09:56:18 -04:00
|
|
|
- "Makefile"
|
2023-06-29 10:37:41 -04:00
|
|
|
|
|
|
|
swagger:
|
|
|
|
- "templates/swagger/v1_json.tmpl"
|
2023-08-20 18:59:19 -04:00
|
|
|
- "Makefile"
|
2023-08-29 21:40:13 -04:00
|
|
|
- "package.json"
|
|
|
|
- "package-lock.json"
|
2023-08-30 20:41:37 -04:00
|
|
|
- ".spectral.yaml"
|
2023-09-07 22:24:06 -04:00
|
|
|
|
|
|
|
yaml:
|
|
|
|
- "**/*.yml"
|
|
|
|
- "**/*.yaml"
|
|
|
|
- ".yamllint.yaml"
|
2023-09-16 09:23:06 -04:00
|
|
|
- "pyproject.toml"
|
|
|
|
- "poetry.lock"
|