Skip to content

api: add read-only workspace files #93

api: add read-only workspace files

api: add read-only workspace files #93

name: Validate Repo Maintenance
# Branch protection should require the Actions check context `validate`.
# GitHub exposes the job check run by this job name, not by the workflow title.
on:
pull_request:
push:
branches:
- main
jobs:
validate:
name: validate
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
- name: Install Swift repo-maintenance tools
run: |
brew list swiftformat >/dev/null 2>&1 || brew install swiftformat
brew list swiftlint >/dev/null 2>&1 || brew install swiftlint
- name: Run repo-maintenance validation
run: bash scripts/repo-maintenance/validate-all.sh