Skip to content

ci: run clang tools directly if run on all files #11

ci: run clang tools directly if run on all files

ci: run clang tools directly if run on all files #11

Workflow file for this run

#
# Project nurikit - Copyright 2023 SNU Compbio Lab.
# SPDX-License-Identifier: Apache-2.0
#
name: Lint PR
on:
pull_request:
branches:
- main
paths:
- ".github/workflows/pr-lint.yaml"
- ".github/workflows/_run-clang-tools.yaml"
- "scripts/run_clang_tools.sh"
- "**.clang-*"
types:
- opened
- reopened
- synchronize
- ready_for_review
defaults:
run:
shell: bash
jobs:
check-want-test:
if: ${{ !github.event.pull_request.draft }}
uses: ./.github/workflows/_check-want-test.yaml
with:
keyword: "lint"
run-clang-tools:
needs: [check-want-test]
if: ${{ needs.check-want-test.outputs.want-test == 'true' }}
uses: ./.github/workflows/_run-clang-tools.yaml
with:
files-changed-only: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true