From 1e9056ee306674520f96055891cb782e4b8999cf Mon Sep 17 00:00:00 2001 From: Juarez Rudsatz Date: Thu, 14 Mar 2024 15:58:51 -0300 Subject: [PATCH] ci: narrow triggering of the workflow Test Changes --- .github/workflows/test-changes.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-changes.yml b/.github/workflows/test-changes.yml index 25410179..db1c1cb3 100644 --- a/.github/workflows/test-changes.yml +++ b/.github/workflows/test-changes.yml @@ -3,7 +3,30 @@ name: Test Changes -on: [push, pull_request] +on: + push: + branches: [ "master" ] + pull_request: + types: [opened, reopened, synchronize, ready_for_review, labeled] + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'warning' + type: choice + options: + - info + - warning + - debug + tags: + description: 'Test scenario tags' + required: false + type: boolean + environment: + description: 'Environment to run tests against' + type: environment + required: true jobs: run-guard: