summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-02 22:20:51 -0500
committerseth <[email protected]>2023-03-02 22:20:59 -0500
commit82a1222f23780b92923327cedb88d8566b2463a8 (patch)
treec58914ab4a1ef3c20649afbd5c2edaa657d13f8a
parent6ca203faa2702f0f6c759adb8aa23692f29ccaba (diff)
fix(actions): don't format on pr
-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 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 }}