diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06093c254..831f6f1a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,8 +3,7 @@ name: CI on: pull_request: push: - branches: - - master + branches: 2-x-stable concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c30495b2..06fdbda0c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: Publish on: push: - branches: master + branches: 2-x-stable paths: lib/rubocop/rspec/version.rb jobs: publish: