mirror of
https://github.com/go-gitea/gitea.git
synced 2026-12-04 15:54:57 +00:00
PostgreSQL 14 reached end of life on 2026-11-12, so CI moves to 15, the oldest supported major. Also drops two Renovate pins that do nothing: `@mcaptcha/vanilla-glue` has had no release since the pinned `0.1.0-rc2`, and the `gomodMod` constraint equals the `@latest` Renovate installs by default. Changes to the DB test workflow or the `pgsql-shard` action now trigger all DB tests. Before, only SQLite ran, so a PostgreSQL bump like this one went untested. Assisted-by: Claude Code:claude-opus-5-5
138 lines
3.9 KiB
YAML
138 lines
3.9 KiB
YAML
name: files-changed
|
|
|
|
on:
|
|
workflow_call:
|
|
outputs:
|
|
backend:
|
|
value: ${{ jobs.detect.outputs.backend }}
|
|
frontend:
|
|
value: ${{ jobs.detect.outputs.frontend }}
|
|
docs:
|
|
value: ${{ jobs.detect.outputs.docs }}
|
|
actions:
|
|
value: ${{ jobs.detect.outputs.actions }}
|
|
templates:
|
|
value: ${{ jobs.detect.outputs.templates }}
|
|
docker:
|
|
value: ${{ jobs.detect.outputs.docker }}
|
|
swagger:
|
|
value: ${{ jobs.detect.outputs.swagger }}
|
|
yaml:
|
|
value: ${{ jobs.detect.outputs.yaml }}
|
|
json:
|
|
value: ${{ jobs.detect.outputs.json }}
|
|
e2e:
|
|
value: ${{ jobs.detect.outputs.e2e }}
|
|
shell:
|
|
value: ${{ jobs.detect.outputs.shell }}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
detect:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 3
|
|
outputs:
|
|
backend: ${{ steps.changes.outputs.backend }}
|
|
frontend: ${{ steps.changes.outputs.frontend }}
|
|
docs: ${{ steps.changes.outputs.docs }}
|
|
actions: ${{ steps.changes.outputs.actions }}
|
|
templates: ${{ steps.changes.outputs.templates }}
|
|
docker: ${{ steps.changes.outputs.docker }}
|
|
swagger: ${{ steps.changes.outputs.swagger }}
|
|
yaml: ${{ steps.changes.outputs.yaml }}
|
|
json: ${{ steps.changes.outputs.json }}
|
|
e2e: ${{ steps.changes.outputs.e2e }}
|
|
shell: ${{ steps.changes.outputs.shell }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
|
|
id: changes
|
|
with:
|
|
filters: |
|
|
backend:
|
|
- "**/*.go"
|
|
- "templates/**/*.tmpl"
|
|
- "public/assets/emoji.json"
|
|
- "go.mod"
|
|
- "go.sum"
|
|
- "Makefile"
|
|
- ".golangci.yml"
|
|
- ".editorconfig"
|
|
- "options/locale/locale_en-US.json"
|
|
- "models/fixtures/**"
|
|
- "tests/*.ini.tmpl"
|
|
- "tests/gitea-repositories-meta/**"
|
|
- "tests/testdata/**"
|
|
- "tools/test-integration.sh"
|
|
- ".github/workflows/pull-db-tests.yml"
|
|
- ".github/actions/pgsql-shard/**"
|
|
|
|
frontend:
|
|
- "*.ts"
|
|
- "web_src/**"
|
|
- "tools/**/*.ts"
|
|
- "tools/**/*.json"
|
|
- "tools/playwright.sh"
|
|
- "tsconfig.json"
|
|
- "public/assets/emoji.json"
|
|
- "package.json"
|
|
- "pnpm-lock.yaml"
|
|
- "pnpm-workspace.yaml"
|
|
- "Makefile"
|
|
|
|
docs:
|
|
- "**/*.md"
|
|
- ".markdownlint.yaml"
|
|
- "package.json"
|
|
- "pnpm-lock.yaml"
|
|
- "pnpm-workspace.yaml"
|
|
|
|
actions:
|
|
- ".github/workflows/*"
|
|
- ".github/actions/**"
|
|
- "Makefile"
|
|
|
|
templates:
|
|
- "tools/lint-templates-*.ts"
|
|
- "templates/**/*.tmpl"
|
|
- "pyproject.toml"
|
|
- "uv.lock"
|
|
|
|
docker:
|
|
- ".github/workflows/pull-docker-dryrun.yml"
|
|
- "Dockerfile"
|
|
- "Dockerfile.rootless"
|
|
- "docker/**"
|
|
- "Makefile"
|
|
|
|
swagger:
|
|
- "templates/swagger/*.json"
|
|
- "Makefile"
|
|
- "package.json"
|
|
- "pnpm-lock.yaml"
|
|
- "pnpm-workspace.yaml"
|
|
- ".spectral.yaml"
|
|
|
|
yaml:
|
|
- "**/*.yml"
|
|
- "**/*.yaml"
|
|
- ".yamllint.yaml"
|
|
- "pyproject.toml"
|
|
|
|
json:
|
|
- "**/*.json"
|
|
- "**/*.json5"
|
|
- "eslint.json.config.ts"
|
|
|
|
e2e:
|
|
- "tests/e2e/**"
|
|
- "tools/test-e2e.sh"
|
|
- "tools/playwright.sh"
|
|
- "playwright.config.ts"
|
|
|
|
shell:
|
|
- "**/*.sh"
|
|
- ".shellcheckrc"
|