From 2859404cf4985e619cb098c6f84fdbc38374390e Mon Sep 17 00:00:00 2001 From: Max Theilig Date: Thu, 11 Jan 2024 14:13:43 +0100 Subject: [PATCH] workflow improvement --- .github/workflows/RenderAllDiagrams.yml | 2 +- .github/workflows/main.yml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/RenderAllDiagrams.yml b/.github/workflows/RenderAllDiagrams.yml index e7af109..7a7cdae 100644 --- a/.github/workflows/RenderAllDiagrams.yml +++ b/.github/workflows/RenderAllDiagrams.yml @@ -6,7 +6,7 @@ on: - '**/Material/imgsrc/**/*.puml' - '**/Material/imgsrc/**/*.drawio' branches-ignore: - - main** + - 'main**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2fbfb8c..4bbdcef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,13 @@ name: CI (FHIR Validation) on: # Triggers the workflow on push or pull request events but only for the master branch push: + paths: + - 'Resources/**' + branches-ignore: + - 'main**' pull_request: + branches: + - 'main**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -46,4 +52,7 @@ jobs: - name: Add & Commit uses: EndBug/add-and-commit@v7 with: + committer_name: GitHub Actions Bot + committer_email: ActionBot@github.com add: 'Resources/fsh-generated/resources/' + message: auto-generated FHIR files by GitHub Actions (CI FSH to FHIR Validation)