Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ name: CI
on: # yamllint disable-line rule:truthy
workflow_dispatch:
workflow_call:
inputs:
skip_commit_validation:
description: >-
Skip the commit-subject check - it only makes sense pre-merge
(should this PR be mergeable), not as a post-merge gate.
required: false
type: boolean
default: false
pull_request:

jobs:
Expand Down Expand Up @@ -43,6 +51,7 @@ jobs:
run: mix test

conventional_commits:
if: inputs.skip_commit_validation != true
name: Validate Commit Subjects
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
validate:
name: Validations
uses: ./.github/workflows/ci.yaml
with:
skip_commit_validation: true

manage-release-pr:
needs: [validate]
Expand Down