From 82a1222f23780b92923327cedb88d8566b2463a8 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 2 Mar 2023 22:20:51 -0500 Subject: fix(actions): don't format on pr --- .github/workflows/checkandformat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml index 2856163..aa02d1c 100644 --- a/.github/workflows/checkandformat.yml +++ b/.github/workflows/checkandformat.yml @@ -17,10 +17,10 @@ jobs: - run: nix flake check format: + if: ${{ github.event_name == 'pull_request' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - if: ${{ github.event_name == 'pull_request' }} with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} -- cgit v1.2.3