summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/checkandformat.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml
index aa02d1c..bb8e348 100644
--- a/.github/workflows/checkandformat.yml
+++ b/.github/workflows/checkandformat.yml
@@ -17,7 +17,7 @@ jobs:
- run: nix flake check
format:
- if: ${{ github.event_name == 'pull_request' }}
+ if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3