checks: Update pre-commit config and tools versions #7848
Workflow file for this run
This file contains hidden or 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: Validate Titles | |
on: | |
# zizmor: ignore[dangerous-triggers] Limits to maintained main branch, and avoids running PR code | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- edited | |
# The following types are default for pull_request_target | |
- opened | |
- synchronize | |
- reopened | |
permissions: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
validate-titles: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout base repository (doesn't include the PR changes) | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
persist-credentials: false | |
- name: Call PR title validation function | |
run: python utils/generate_release_notes.py check "${PR_TITLE}" "" "" | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} |