Use shields.io
badges in GitHub README
#157
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "conventional commits" | |
permissions: {} | |
on: | |
pull_request: | |
jobs: | |
cog-check: | |
name: "cog check" | |
permissions: | |
contents: read | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
fetch-depth: 0 | |
# pick the pr HEAD instead of the merge commit | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: taiki-e/install-action@6184f1ceeabf5626b4c5ccff2750455a1026da4a # v2.19.1 | |
with: | |
tool: cocogitto@5.5.0 | |
- run: cog check ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} |