Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- Config, docs, scripts, and backup manifests - Submodule refs unchanged (m = modified content in submodules) Made-with: Cursor
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
# R14: Config and validation in pipeline. Run when config/ or scripts/validation/ or scripts/verify/ change.
|
|
name: Validate Config
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'config/**'
|
|
- 'scripts/validation/**'
|
|
- 'scripts/verify/run-all-validation.sh'
|
|
- 'scripts/run-completable-tasks-from-anywhere.sh'
|
|
- '.github/workflows/validate-config.yml'
|
|
- 'token-lists/**'
|
|
- 'explorer-monorepo/backend/api/rest/config/metamask/**'
|
|
push:
|
|
branches: [master]
|
|
paths:
|
|
- 'config/**'
|
|
- 'scripts/validation/**'
|
|
- '.github/workflows/validate-config.yml'
|
|
- 'token-lists/**'
|
|
- 'explorer-monorepo/backend/api/rest/config/metamask/**'
|
|
|
|
jobs:
|
|
validate:
|
|
name: Config & validation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Config validation
|
|
run: bash scripts/validation/validate-config-files.sh
|
|
|
|
- name: Completable tasks (dry-run)
|
|
run: bash scripts/run-completable-tasks-from-anywhere.sh --dry-run
|
|
|
|
- name: Shellcheck (optional)
|
|
run: bash scripts/verify/run-shellcheck.sh --optional
|