diff options
author | 2023-08-12 23:45:17 +0200 | |
---|---|---|
committer | 2023-08-12 23:45:17 +0200 | |
commit | 00615c366800669fa6cf3ccb6e4effac57360921 (patch) | |
tree | 84cee99a5d9c7fc588a8d88e3469ac85e9e22ad7 | |
parent | Merge pull request #190 from python-discord/wait_until_bot_started (diff) |
run fixup blocker when git ref isn't mainfixup-commit-blocker
This also makes the lint-test workflow a dependency since as we'd want to run linting on all fixup commits still
-rw-r--r-- | .github/workflows/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |