diff options
author | 2023-08-13 10:27:35 +0200 | |
---|---|---|
committer | 2023-08-13 10:27:35 +0200 | |
commit | 4a958d36f05393b097644dc99d87fdf29a3af950 (patch) | |
tree | 7036fac55646dd3c1220ab50cb7ea9b3242ee050 /.github/workflows | |
parent | Merge 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.yaml | 5 |
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: |