From 55e64124d965eb0291136a227ba88f449d3b74a0 Mon Sep 17 00:00:00 2001 From: "Charlton, Scott R." Date: Wed, 10 Sep 2025 19:30:37 -0600 Subject: [PATCH] Add superprojects.json and lint workflow for validation --- .github/superprojects.json | 7 +++++++ .github/workflows/lint-superprojects.yml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/superprojects.json create mode 100644 .github/workflows/lint-superprojects.yml diff --git a/.github/superprojects.json b/.github/superprojects.json new file mode 100644 index 00000000..518d022b --- /dev/null +++ b/.github/superprojects.json @@ -0,0 +1,7 @@ +{ + "usgs-coupled-subtrees/iphreeqc": { + "superprojects": [ + "usgs-coupled-subtrees/webmod" + ] + } +} diff --git a/.github/workflows/lint-superprojects.yml b/.github/workflows/lint-superprojects.yml new file mode 100644 index 00000000..b46ff4bc --- /dev/null +++ b/.github/workflows/lint-superprojects.yml @@ -0,0 +1,16 @@ +name: Lint superprojects.json + +on: + pull_request: + paths: + - '.github/superprojects.json' + workflow_call: + workflow_dispatch: + +jobs: + lint-superprojects: + runs-on: ubuntu-latest + steps: + - uses: usgs-coupled-subtrees/sync-subtrees-action/lint-superprojects/@main + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}