Skip to content

Revert "Replace broken star-history embed with self-hosted chart and … #41

Revert "Replace broken star-history embed with self-hosted chart and …

Revert "Replace broken star-history embed with self-hosted chart and … #41

Workflow file for this run

name: Commit Guard
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-range:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: Verify all commit messages and authors in this change
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
BASE="${{ github.event.pull_request.base.sha }}"
HEAD="${{ github.event.pull_request.head.sha }}"
else
BASE="${{ github.event.before }}"
HEAD="${{ github.event.after }}"
fi
echo "Checking range: ${BASE}..${HEAD}"
bash scripts/commit-message-guard.sh --check-range "$BASE" "$HEAD"