Merge pull request #84 from medizininformatik-initiative/release/v202… #79
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: CI (FHIR Validation) | |
| on: | |
| push: | |
| branches: [ main, dev ] | |
| pull_request: | |
| branches: [ main, dev ] | |
| workflow_dispatch: | |
| jobs: | |
| JAVA_FHIR_VALIDATION: | |
| uses: medizininformatik-initiative/kerndatensatz-meta/.github/workflows/ci_java_validation.yml@master | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| PATH_TO_CONFORMANCE_RESOURCES: fsh-generated/resources | |
| PATH_TO_EXAMPLES: fsh-generated/resources | |
| JAVA_VALIDATION_ENABLED: true | |
| JAVA_VALIDATION_OPTIONS: ${{ vars.JAVA_VALIDATION_OPTIONS }} | |
| JAVA_VALIDATOR_VERSION: ${{ vars.JAVA_VALIDATOR_VERSION }} | |
| VALIDATION_REPORT_INCLUDE: errors | |
| VALIDATION_REPORT_FILTERS: | | |
| #Skip issue with LOINC defined VS | |
| Observation-QualitaetspruefungBuffyCoat.json||*There is no declared filter called LIST*|Observation.component[1].value.ofType(CodeableConcept) | |
| #Skip issue with CLO prefix (CodeSystem) | |
| Specimen-OrganoidLunge.json||*in the CodeSystem 'http://purl.obolibrary.org/obo/clo.owl'*|Specimen.extension[1].extension[0].value.ofType(CodeableConcept)* | |
| #Skip issue with CLO prefix (ValueSet) | |
| Specimen-OrganoidLunge.json||*in the value set 'MII VS Biobank Cellline Modification CLO'*|Specimen.extension[1].extension[0].value.ofType(CodeableConcept)* | |
| secrets: inherit | |
| DOTNET_FHIR_VALIDATION: | |
| if: github.event_name != 'release' | |
| uses: medizininformatik-initiative/kerndatensatz-meta/.github/workflows/ci_dotnet_validation.yml@master | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref || github.ref }} | |
| SUSHI_VERSION: ${{ vars.SUSHI_VERSION }} | |
| secrets: inherit | |
| RELEASE: | |
| if: startsWith(github.ref, 'refs/tags/v') && github.event_name != 'release' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Prepare version | |
| id: prep-version | |
| run: | | |
| VERSION=${GITHUB_REF#refs/tags/} | |
| echo "version=${VERSION}" >> $GITHUB_OUTPUT | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: "${{ steps.prep-version.outputs.version }}" | |
| draft: true | |
| prerelease: ${{ contains(steps.prep-version.outputs.version, '-') }} | |
| generate_release_notes: true | |
| body: | | |
| ## MII IG Basis Release ${{ steps.prep-version.outputs.version }} | |
| <!-- DELETE START --> | |
| Download the FHIR package and manually attach it to this release. | |
| <!-- DELETE END --> | |
| ### Changes | |
| <!-- DELETE START --> | |
| Add your own release notes here. | |
| <!-- DELETE END --> | |
| See the auto-generated release notes below. | |
| NOTIFY_ZULIP: | |
| if: github.event_name == 'release' && github.event.action == 'published' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Post release to Zulip | |
| uses: zulip/github-actions-zulip/send-message@v1 | |
| with: | |
| api-key: ${{ secrets.ZULIP_API_KEY }} | |
| email: "kds-github-bot@mii.zulipchat.com" | |
| organization-url: "https://mii.zulipchat.com/" | |
| to: "MII-Kerndatensatz" | |
| type: "stream" | |
| topic: "Releases" | |
| content: | | |
| **New Release:** `${{ github.event.release.tag_name }}` | |
| **Repository:** `${{ github.repository }}` | |
| ${{ github.event.release.body }} | |
| 🔗 [View on GitHub](${{ github.event.release.html_url }}) |