mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
9592f209 Add workflows for linting and syncing subtrees.json git-subtree-dir: src git-subtree-split: 9592f20922bb8dd17431c8975db68b17ab6598c1
23 lines
602 B
YAML
23 lines
602 B
YAML
# This workflow lints the subtrees.json file to ensure it is valid and up-to-date.
|
|
# It is triggered on pull requests that modify the subtrees.json file or can be run manually
|
|
# via the GitHub Actions UI.
|
|
name: Lint subtrees.json
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/subtrees.json'
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint-subtrees:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CI_SERVER_HOST: github.com
|
|
GROUP: usgs-coupled
|
|
steps:
|
|
- uses: usgs-coupled/sync-subtrees-action/lint-subtrees/@main
|
|
with:
|
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|