aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/lintcommit_dummy.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lintcommit_dummy.yml')
-rw-r--r--.github/workflows/lintcommit_dummy.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/lintcommit_dummy.yml b/.github/workflows/lintcommit_dummy.yml
new file mode 100644
index 0000000000..e4a0c4af2d
--- /dev/null
+++ b/.github/workflows/lintcommit_dummy.yml
@@ -0,0 +1,16 @@
+# Dummy workflow of lintcommit.yml. lintcommit is a required check, but it's
+# only designed to work on master. Since required checks are always required to
+# run, we can essentially "skip" the lintcommit on release branches with this
+# dummy check that automatically passes.
+name: lintcommit_dummy
+on:
+ pull_request:
+ types: [opened, synchronize, reopened, ready_for_review]
+ branches:
+ - 'release-[0-9]+.[0-9]+'
+jobs:
+ lint-commits:
+ runs-on: ubuntu-latest
+ if: github.event.pull_request.draft == false
+ steps:
+ - run: echo "success"