From a294377a78d55cb20e6505b887cb048e1181f31c Mon Sep 17 00:00:00 2001 From: Samet Akcay Date: Tue, 5 Nov 2024 13:42:31 +0000 Subject: [PATCH] add version to action Signed-off-by: Samet Akcay --- .github/workflows/pr-checks.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index 39ad970e8b..8b4ff8b362 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -1,22 +1,23 @@ name: Pull Request Checks + on: pull_request: branches: [main, feature] jobs: pre-commit-full: - uses: ./.github/actions/linting/pre-commit.yaml + uses: ./.github/actions/linting/pre-commit.yaml@main # Add @main or specific reference # Runs all hooks on all files # Example of running specific hooks on changed files ruff-changed: - uses: ./.github/actions/linting/specific-hooks.yaml + uses: ./.github/actions/linting/specific-hooks.yaml@main # Add @main or specific reference with: hook_id: ruff files: ${{ join(github.event.pull_request.changed_files, ' ') }} # Security specific hooks security-checks: - uses: ./.github/actions/linting/pre-commit.yaml + uses: ./.github/actions/linting/pre-commit.yaml@main # Add @main or specific reference with: hooks: bandit