E3SM atmospheric initial condition remap tool (model-to-model) #549
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: markdown | |
| # if .md files are touched in a PR, lint them! | |
| on: | |
| pull_request: | |
| branches: ["master"] | |
| paths: | |
| - '**/*.md' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| linter: | |
| if: ${{ github.repository == 'E3SM-Project/E3SM' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: tj-actions/changed-files@v47 | |
| id: changed-files | |
| with: | |
| files: '**/*.md' | |
| separator: "," | |
| - uses: DavidAnson/markdownlint-cli2-action@v22 | |
| if: steps.changed-files.outputs.any_changed == 'true' | |
| with: | |
| config: 'docs/.markdownlint.json' | |
| globs: ${{ steps.changed-files.outputs.all_changed_files }} | |
| separator: "," |