aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/fixup-commit-blocker.yaml
diff options
context:
space:
mode:
authorGravatar jchristgit <[email protected]>2023-08-31 09:28:34 +0200
committerGravatar GitHub <[email protected]>2023-08-31 09:28:34 +0200
commit416ebfa620bba2de98f2fd530cd716d097186255 (patch)
tree37bd78990f4fdfb60dc8a6871ce3eee3057768bd /.github/workflows/fixup-commit-blocker.yaml
parentMerge pull request #1078 from python-discord/dependabot/pip/ruff-0.0.286 (diff)
parenttrigger the fixup workflow on the `pull_request_targer` event (diff)
Merge pull request #1085 from python-discord/trigger-fixup-on-pr-target
Trigger the fixup workflow on the `pull_request_targer` event
Diffstat (limited to '.github/workflows/fixup-commit-blocker.yaml')
-rw-r--r--.github/workflows/fixup-commit-blocker.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/fixup-commit-blocker.yaml b/.github/workflows/fixup-commit-blocker.yaml
new file mode 100644
index 00000000..18973d24
--- /dev/null
+++ b/.github/workflows/fixup-commit-blocker.yaml
@@ -0,0 +1,13 @@
+name: Block fixup commits
+
+on:
+ pull_request_target:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ block-fixup-commits:
+ if: github.ref != 'refs/heads/main'
+ uses: python-discord/.github/.github/workflows/block-fixup-commits.yaml@main \ No newline at end of file