Merge pull request #1129 from ocaisa/update_ci_triggers #9
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
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
name: Tests for consistency of README.md | |
on: | |
push: | |
paths: | |
- README.md | |
- init/eessi_defaults | |
pull_request: | |
paths: | |
- README.md | |
- init/eessi_defaults | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Check out software-layer repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Clone EESSI/software-layer-scripts repository | |
run: | | |
git clone https://github.com/EESSI/software-layer-scripts | |
- name: verify if README.md is consistent with EESSI_VERSION from init/eessi_defaults | |
run: | | |
source software-layer-scripts/init/eessi_defaults | |
grep "${EESSI_VERSION}" README.md | |
- name: verify if README.md is consistent with EESSI_CVMFS_REPO from init/eessi_defaults | |
run: | | |
source software-layer-scripts/init/eessi_defaults | |
grep "${EESSI_CVMFS_REPO}" README.md |