diff --git a/.github/workflows/TC-version-update.yml b/.github/workflows/TC-version-update.yml new file mode 100644 index 00000000..098181f1 --- /dev/null +++ b/.github/workflows/TC-version-update.yml @@ -0,0 +1,38 @@ + +name: TC version update + +# Controls when the action will run. +on: + push: + branches: + - 'TC-*' + - 'TC_*' + + +# setup python and run script +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout repo content + uses: actions/checkout@v2 # checkout the repository content + + - name: setup python + uses: actions/setup-python@v4 + with: + python-version: '3.10' # install the python version needed + + - name: install python packages + run: | + python -m pip install --upgrade pip + pip install pyyaml + + - name: execute py script # run main.py + run: python ./scripts/release_publish.py -b + + - name: Add & Commit + uses: EndBug/add-and-commit@v9 + with: + committer_name: GitHub Actions Bot + committer_email: ActionBot@github.com + message: auto-generated file update of TC version by GitHub Actions (CI FSH to FHIR Validation)