diff --git a/.github/workflows/semantic_pull_request.yml b/.github/workflows/semantic_pull_request.yml new file mode 100644 index 000000000..cf895d56c --- /dev/null +++ b/.github/workflows/semantic_pull_request.yml @@ -0,0 +1,31 @@ +name: Semantic Pull Request + +on: + workflow_call: + inputs: + types: + required: false + type: string + scopes: + required: false + type: string + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: 🤖 Ensure Semantic Commit Compliance + if: github.event_name == 'pull_request' + uses: amannn/action-semantic-pull-request@v5.3.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: ${{inputs.types}} + scopes: ${{inputs.scopes}} + validateSingleCommit: false + ignoreLabels: | + bot + wip + draft + wip: false