From 8dfed3dba5fe9be3669c81a880576019639b74ff Mon Sep 17 00:00:00 2001 From: Ryan May Date: Wed, 29 Jun 2022 01:49:29 -0600 Subject: [PATCH] CI: Restrict linting and assign milestone to PRs against main There's no need for these to run against backport PRs. --- .github/workflows/assign-milestone.yml | 1 + .github/workflows/linting.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/assign-milestone.yml b/.github/workflows/assign-milestone.yml index b32f85d1df3..cb00d636c17 100644 --- a/.github/workflows/assign-milestone.yml +++ b/.github/workflows/assign-milestone.yml @@ -4,6 +4,7 @@ name: Assign Latest Milestone on: pull_request_target: types: [closed] + branches: [main] permissions: pull-requests: write diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 70d07ead75d..7f4a6e2567d 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -3,6 +3,7 @@ on: push: branches: [main] pull_request: + branches: [main] concurrency: group: ${{ github.workflow}}-${{ github.head_ref }}