regression-scope/rules.json: Fix env args order #126
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
# SPDX-FileCopyrightText: 2025 3mdeb <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Pre-commit checks | |
on: pull_request | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Fetch base branch | |
run: git fetch origin ${{ github.event.pull_request.base.sha }} | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: | |
--all-files |