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: