From 00615c366800669fa6cf3ccb6e4effac57360921 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Sat, 12 Aug 2023 23:45:17 +0200 Subject: run fixup blocker when git ref isn't main This also makes the lint-test workflow a dependency since as we'd want to run linting on all fixup commits still --- .github/workflows/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 62be12e4..8545a2d3 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -13,5 +13,11 @@ concurrency: jobs: lint-test: uses: ./.github/workflows/lint-test.yaml + + fixup-commit-blocker: + if: github.ref != 'refs/heads/main' + uses: python-discord/.github/.github/workflows/block-fixup-commits.yaml@main + needs: lint-test + docs: uses: ./.github/workflows/docs.yaml -- cgit v1.2.3