summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-06 09:43:13 -0500
committerseth <[email protected]>2023-03-06 09:43:13 -0500
commitbb057765034c9fa8b93d92218d2b0a2686e680de (patch)
treed99c8471a9e602f14ccf175465c54bb99316415c /.github
parent2d6442040acae88fccc4a3369db6f327fd9b9f73 (diff)
fix(actions): format on push
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checkandformat.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml
index 8bd9a83..b8f17ec 100644
--- a/.github/workflows/checkandformat.yml
+++ b/.github/workflows/checkandformat.yml
@@ -24,13 +24,10 @@ jobs:
export NIXPKGS_ALLOW_BROKEN=1
nix flake check --impure
format:
- if: ${{ github.event_name != 'pull_request' }}
+ if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- with:
- repository: ${{ github.event.pull_request.head.repo.full_name }}
- ref: ${{ github.event.pull_request.head.ref }}
- uses: cachix/install-nix-action@v19
with: