Skip to content

fix: release memory quickly #160

fix: release memory quickly

fix: release memory quickly #160

Workflow file for this run

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/action@v3.0.0
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