From 94c823596af86c7f61c7ad22ed1ca9f4ac862291 Mon Sep 17 00:00:00 2001 From: Ming Tsai <37890026+ming-tsai@users.noreply.github.com> Date: Tue, 24 Aug 2021 09:11:11 -0400 Subject: [PATCH] chore: only active the action on open pr to main --- .github/workflows/label.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 61066988..9c3d820c 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -6,7 +6,10 @@ # https://github.com/actions/labeler name: Labeler -on: [pull_request] +on: + pull_request: + # The branches below must be a subset of the branches above + branches: [ main ] jobs: label: