From 376b00d9b499fd1868fae7c5cecf397e54b1cd73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20G=C3=B6bel?= Date: Wed, 26 Jul 2023 10:52:12 +0200 Subject: [PATCH] Change pull request trigger for actions --- .github/workflows/code-analysis.yml | 17 +++++++++++++++++ .github/workflows/integration-test.yml | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/code-analysis.yml diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml new file mode 100644 index 0000000..448d626 --- /dev/null +++ b/.github/workflows/code-analysis.yml @@ -0,0 +1,17 @@ +name: Code Analysis + +on: + workflow_dispatch: + pull_request: + types: + - opened + - synchronize + branches: + - master + schedule: + - cron: '0 0 * * *' # Runs the job at 00:00 UTC every day + +jobs: + app-integration-test: + uses: eliona-smart-building-assistant/app-integration-tests/.github/workflows/code-analysis.yml@main + secrets: inherit diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 89544b9..73986dd 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -2,7 +2,10 @@ name: Integration Test on: workflow_dispatch: - pull_request_target: + pull_request: + types: + - opened + - synchronize branches: - master schedule: