diff --git a/.github/workflows/auto-labelerV2.yml b/.github/workflows/auto-labelerV2.yml index d66ea570a..e30f99f07 100644 --- a/.github/workflows/auto-labelerV2.yml +++ b/.github/workflows/auto-labelerV2.yml @@ -2,6 +2,9 @@ name: "Auto Pull Request Labeler V2" on: pull_request_target: types: [opened, synchronize] + branches: + - main + - V2 permissions: contents: read diff --git a/.github/workflows/check_properties.yml b/.github/workflows/check_properties.yml index 73232eee9..fd25ebaf9 100644 --- a/.github/workflows/check_properties.yml +++ b/.github/workflows/check_properties.yml @@ -5,6 +5,8 @@ on: types: [opened, synchronize, reopened] paths: - "app/core/src/main/resources/messages_*.properties" + branches: + - main # cancel in-progress jobs if a new job is triggered # This is useful to avoid running multiple builds for the same branch if a new commit is pushed