From 2fa876042280cedfedf7d351fc33310b19347eb7 Mon Sep 17 00:00:00 2001 From: Shahana Farooqui Date: Mon, 16 May 2022 14:50:01 -0400 Subject: [PATCH] Do not run Lint & Test action on feature branch Do not run Lint & Test action on feature branch --- .github/workflows/checks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 293cdc1d..19c03c4f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -2,6 +2,14 @@ name: Lint & Test on: push: + branches: [ master, 'Release-*' ] + tags: [ 'v*' ] + release: + types: [released] + # Triggers the workflow only when merging pull request to the branches. + pull_request: + types: [closed] + branches: [ master, 'Release-*' ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: