From 7fc6bc882c09e3797cea4ce0413ff9731df56203 Mon Sep 17 00:00:00 2001 From: Saber Haj Rabiee Date: Tue, 12 Nov 2024 11:44:54 -0800 Subject: [PATCH] fix: run `autofix.ci` on pull requests only --- .github/workflows/autofix.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 0c2656f946..9c9567fe57 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -1,9 +1,10 @@ name: autofix.ci on: - workflow_call: pull_request: - push: - branches: ["main"] + # Running this workflow on main branch pushes requires write permission to apply changes. + # Leave it alone for future uses. + # push: + # branches: ["main"] permissions: contents: read concurrency: