github: Do not run require porting labels on stable-2.1

When we are creating a PR in stable-2.1 we do not need to run
the github action of porting labels as we are doing backports or
new releases in stable-2.1 and we it is unnecessary to put labels
like no-backport-needed or no-forwardport-needed, etc.

Fixes #1847

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2021-05-13 15:47:49 -05:00
parent dd26aa5838
commit 1ea0dc9804

View File

@ -6,6 +6,9 @@
name: Ensure PR has required porting labels name: Ensure PR has required porting labels
on: on:
pull_request:
branches:
- main
pull_request_target: pull_request_target:
types: types:
- opened - opened