Skip to content

Merge pull request #6242 from microsoft/dependabot/github_actions/act… #6857

Merge pull request #6242 from microsoft/dependabot/github_actions/act…

Merge pull request #6242 from microsoft/dependabot/github_actions/act… #6857

Workflow file for this run

name: pre-commit hooks
on:
pull_request:
push:
branches:
- 'main'
- 'release/*'
merge_group:
branches: ['main']
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1