mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
23 lines
490 B
YAML
23 lines
490 B
YAML
name: Validate Team JSON
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'public/team.json'
|
|
pull_request:
|
|
paths:
|
|
- 'public/team.json'
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate team.json
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Validate JSON format
|
|
run: |
|
|
if ! jq empty public/team.json 2>/dev/null; then
|
|
echo "Error: team.json is not valid JSON"
|
|
exit 1
|
|
fi
|
|
echo "✓ team.json is valid JSON"
|