aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-08-13 10:27:35 +0200
committerGravatar shtlrs <[email protected]>2023-08-13 10:27:35 +0200
commit4a958d36f05393b097644dc99d87fdf29a3af950 (patch)
tree7036fac55646dd3c1220ab50cb7ea9b3242ee050 /.github/workflows
parentMerge pull request #1071 from Anonymous4045/Anonymous4045-rule-alias (diff)
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
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 6454737d..7151c9aa 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -14,6 +14,11 @@ 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
+
generate-sha-tag:
runs-on: ubuntu-latest
outputs: