Skip to content

feat: add configkey in extension #201

feat: add configkey in extension

feat: add configkey in extension #201

name: PR merge gate
on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
branches: [ "main" ]
jobs:
pr-merge-gate:
runs-on: ubuntu-latest
#if: (github.repository == 'traas-stack/holoinsight-agent')
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --all-files
# https://conventionalcommits.org/
- name: Check Commit Type
uses: gsactions/commit-message-checker@v2
with:
pattern: '(build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump)(\(\S+\))?!?:(\s.*)'
error: 'Must use conventional commits'
excludeTitle: 'false'
excludeDescription: 'true'
checkAllCommitMessages: 'true'
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true