From 782081c5186fb360b6ec175619838edbda34ec98 Mon Sep 17 00:00:00 2001 From: travisladuke Date: Thu, 11 Apr 2024 10:20:11 -0700 Subject: [PATCH] ci: run on push or PR, not both --- .github/workflows/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 2ec9432..fa4e694 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -2,8 +2,6 @@ name: CI on: push: - branches: ["main"] - pull_request: permissions: @@ -13,6 +11,7 @@ permissions: jobs: build_lint_etc: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ubuntu-latest