Add superprojects.json and lint workflow for validation

This commit is contained in:
Charlton, Scott R. 2025-06-30 15:52:08 -06:00
parent d9ae5ebdeb
commit 34ef558eaf
2 changed files with 25 additions and 0 deletions

9
src/.github/superprojects.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
"iphreeqc-src": {
"superprojects": [
"usgs-coupled/iphreeqc",
"usgs-coupled/iphreeqccom",
"usgs-coupled-subtrees/phreeqcrm-src"
]
}
}

View File

@ -0,0 +1,16 @@
name: Lint superprojects.json
on:
pull_request:
paths:
- '.github/superprojects.json'
workflow_call:
workflow_dispatch:
jobs:
lint-subtrees:
runs-on: ubuntu-latest
steps:
- uses: usgs-coupled/sync-subtrees-action/lint-superprojects/@main
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}