2023-05-30 11:01:00 +05:30
|
|
|
name: files-changed
|
2023-05-25 07:03:31 +05:30
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
outputs:
|
|
|
|
backend:
|
2023-05-30 11:01:00 +05:30
|
|
|
value: ${{ jobs.detect.outputs.backend }}
|
2023-05-25 07:03:31 +05:30
|
|
|
frontend:
|
2023-05-30 11:01:00 +05:30
|
|
|
value: ${{ jobs.detect.outputs.frontend }}
|
|
|
|
docs:
|
|
|
|
value: ${{ jobs.detect.outputs.docs }}
|
|
|
|
actions:
|
|
|
|
value: ${{ jobs.detect.outputs.actions }}
|
2023-06-14 23:47:58 +05:30
|
|
|
templates:
|
|
|
|
value: ${{ jobs.detect.outputs.templates }}
|
2023-06-19 08:23:20 +05:30
|
|
|
docker:
|
|
|
|
value: ${{ jobs.detect.outputs.docker }}
|
2023-06-29 20:07:41 +05:30
|
|
|
swagger:
|
|
|
|
value: ${{ jobs.detect.outputs.swagger }}
|
2023-05-25 07:03:31 +05:30
|
|
|
|
|
|
|
jobs:
|
2023-05-30 11:01:00 +05:30
|
|
|
detect:
|
2023-05-25 07:03:31 +05:30
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 3
|
|
|
|
outputs:
|
|
|
|
backend: ${{ steps.changes.outputs.backend }}
|
|
|
|
frontend: ${{ steps.changes.outputs.frontend }}
|
2023-05-30 11:01:00 +05:30
|
|
|
docs: ${{ steps.changes.outputs.docs }}
|
|
|
|
actions: ${{ steps.changes.outputs.actions }}
|
2023-06-14 23:47:58 +05:30
|
|
|
templates: ${{ steps.changes.outputs.templates }}
|
2023-06-19 08:23:20 +05:30
|
|
|
docker: ${{ steps.changes.outputs.docker }}
|
2023-06-29 20:07:41 +05:30
|
|
|
swagger: ${{ steps.changes.outputs.swagger }}
|
2023-05-25 07:03:31 +05:30
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-05-30 11:01:00 +05:30
|
|
|
- uses: dorny/paths-filter@v2
|
2023-05-25 07:03:31 +05:30
|
|
|
id: changes
|
|
|
|
with:
|
2023-05-30 11:01:00 +05:30
|
|
|
filters: |
|
|
|
|
backend:
|
|
|
|
- "**/*.go"
|
2023-06-14 23:47:58 +05:30
|
|
|
- "templates/**/*.tmpl"
|
2023-06-29 21:59:48 +05:30
|
|
|
- "assets/emoji.json"
|
2023-05-30 11:01:00 +05:30
|
|
|
- "go.mod"
|
|
|
|
- "go.sum"
|
2023-06-23 19:26:18 +05:30
|
|
|
- "Makefile"
|
2023-05-30 11:01:00 +05:30
|
|
|
|
|
|
|
frontend:
|
|
|
|
- "**/*.js"
|
|
|
|
- "web_src/**"
|
2023-06-29 21:59:48 +05:30
|
|
|
- "assets/emoji.json"
|
2023-05-30 11:01:00 +05:30
|
|
|
- "package.json"
|
|
|
|
- "package-lock.json"
|
2023-06-23 19:26:18 +05:30
|
|
|
- "Makefile"
|
2023-05-30 11:01:00 +05:30
|
|
|
|
|
|
|
docs:
|
|
|
|
- "**/*.md"
|
|
|
|
- "docs/**"
|
|
|
|
|
|
|
|
actions:
|
|
|
|
- ".github/workflows/*"
|
2023-06-14 23:47:58 +05:30
|
|
|
|
|
|
|
templates:
|
|
|
|
- "templates/**/*.tmpl"
|
2023-06-18 23:43:08 +05:30
|
|
|
- "poetry.lock"
|
2023-06-23 19:26:18 +05:30
|
|
|
|
2023-06-19 08:23:20 +05:30
|
|
|
docker:
|
|
|
|
- "Dockerfile"
|
|
|
|
- "Dockerfile.rootless"
|
|
|
|
- "docker/**"
|
2023-06-23 19:26:18 +05:30
|
|
|
- "Makefile"
|
2023-06-29 20:07:41 +05:30
|
|
|
|
|
|
|
swagger:
|
|
|
|
- "templates/swagger/v1_json.tmpl"
|