Skip to content

Build extra CI scenarios #17

Build extra CI scenarios

Build extra CI scenarios #17

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@57aaba576a0253b74662df51e62715622f02127b # v2.19.2
with:
tool: [email protected]
- run: cog check ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}