Skip to content

pre-commit-detect-outdated.yml: Fix main branch target #10

pre-commit-detect-outdated.yml: Fix main branch target

pre-commit-detect-outdated.yml: Fix main branch target #10

Workflow file for this run

# Copyright (c) 2025 Sebastian Pipping <[email protected]>
# Licensed under GNU Affero GPL v3 or later
name: Run pre-commit
on:
pull_request:
push:
schedule:
- cron: '0 2 * * 5' # Every Friday at 2am
workflow_dispatch:
# Drop permissions to minimum for security
permissions:
contents: read
jobs:
pre-commit:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.13
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1