diff options
| author | seth <[email protected]> | 2023-03-02 22:20:51 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-02 22:20:59 -0500 |
| commit | 82a1222f23780b92923327cedb88d8566b2463a8 (patch) | |
| tree | c58914ab4a1ef3c20649afbd5c2edaa657d13f8a | |
| parent | 6ca203faa2702f0f6c759adb8aa23692f29ccaba (diff) | |
fix(actions): don't format on pr
| -rw-r--r-- | .github/workflows/checkandformat.yml | 2 |
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 }} |
