Skip to content

Bump step-security/harden-runner from 2.13.0 to 2.13.1 #603

Bump step-security/harden-runner from 2.13.0 to 2.13.1

Bump step-security/harden-runner from 2.13.0 to 2.13.1 #603

name: "Commit linting"
on: [push, pull_request]
permissions:
contents: read
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
# Checkout the entire pull request branch
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{github.event.pull_request.head.ref}}
fetch-depth: ${{github.event.pull_request.commits}}
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
ref: main
fetch-depth: 1
- name: Set up Python 3.13
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: 3.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install gitlint
- name: Analysing the commits
run: |
.github/workflows/run-gitlint.sh