Check if sync item is actually a folder before processing it #3537
Workflow file for this run
This file contains 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: Clang Format Checker | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cpp-linter/[email protected] | |
id: linter | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
style: file | |
lines-changed-only: true | |
version: 14 | |
- name: Fail fast?! | |
if: steps.linter.outputs.checks-failed > 0 | |
run: echo "Some files failed the linting checks!" |