Skip to content

SP-4263 Implement compute quotas #27

SP-4263 Implement compute quotas

SP-4263 Implement compute quotas #27

name: "CI: Commit Check"
on:
pull_request:
branches: [main]
# This check runs on every push to repository
push:
branches: [main]
permissions:
contents: read
jobs:
commit-check:
runs-on: ubuntu-latest
permissions: # use permissions because of use pr-comments
contents: read
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.sha }} # checkout PR HEAD commit
fetch-depth: 0 # required for merge-base check
- name: Run Commit Check
uses: commit-check/commit-check-action@8d507e12899a9feb405c3ed546252ff9508724e0 # v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because of use pr-comments
with:
# Conventional Commits Check
message: true
# Convention Branch Check
branch: false
author-name: true
author-email: true
commit-signoff: false
merge-base: true
job-summary: true
pr-comments: false