From fc92143ba69af51c466142325f710ffd8bb188cc Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sun, 4 Dec 2022 23:51:01 +0100 Subject: [PATCH] ci: fix pull requests not triggering CI --- .github/workflows/autofix.yml | 4 +++- .github/workflows/ci.yml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index d76088b01d..0803cee567 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -1,10 +1,12 @@ name: autofix.ci on: - pull_request: push: branches: - main + pull_request: + branches: + - main permissions: contents: read diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe3efb3890..6c0fd41cb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,11 @@ name: CI on: push: + branches: + - main + pull_request: + branches: + - main jobs: lint: