lintcommit_dummy.yml (563B)
1 # Dummy workflow of lintcommit.yml. lintcommit is a required check, but it's 2 # only designed to work on master. Since required checks are always required to 3 # run, we can essentially "skip" the lintcommit on release branches with this 4 # dummy check that automatically passes. 5 name: lintcommit_dummy 6 on: 7 pull_request: 8 types: [opened, synchronize, reopened, ready_for_review] 9 branches: 10 - 'release-[0-9]+.[0-9]+' 11 jobs: 12 lint-commits: 13 runs-on: ubuntu-latest 14 if: github.event.pull_request.draft == false 15 steps: 16 - run: echo "success"