diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index b19a7bd9d..d318b3322 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -37,7 +37,7 @@ jobs: id: commit - name: Push changes - if: steps.commit.outcome == 'success' + if: github.ref != 'refs/heads/trunk' run: | git push origin HEAD:${GITHUB_HEAD_REF}