Skip to content

unexpected source files has been included #321

@alfred-green-rand

Description

@alfred-green-rand

What events trigger your workflow?

on:
  pull_request: {}
  workflow_dispatch: {}

What OS does your workflow use?

runs-on: macos-latest

How is cpp-linter-action configured?

- uses: cpp-linter/cpp-linter-action@v2
        id: cpp-linter-format
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          style: 'file'
          extensions: "h,hpp,c,cc,cpp,cxx,m,mm"
          tidy-checks: '-*'
          repo-root: '.'
          version: '18'
          lines-changed-only: false
          files-changed-only: false
          ignore: '|!packing/ios/|!pkg/sdk|!axhttp/ios/'
          format-review: true
          tidy-review: false
          step-summary: true
          thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}

What was the unexpected behavior?

unexpected source files has been included.(for example packing/windows/* should be ignore).

Running cpp-linter
INFO:CPP Linter:Ignoring the following paths/files/patterns:
	./"
INFO:CPP Linter:Not ignoring the following paths/files/patterns:
	./pkg/sdk
	./cpp
	./packing/ios
	./mm
	./axhttp/ios/"
	./cc
	./m
	./hpp
	./cxx
	./c
Get list of specified source files
  INFO:CPP Linter:Giving attention to the following files:
  	packing/windows/AxisApiDemo/stdafx.h
  	packing/windows/AxisApiDemo/winhttp.h
  	packing/windows/AxisApiDemo/define.h
  	packing/windows/AxisApiDemo/IHttpInterface.h
  	packing/windows/AxisApiDemo/HttpClient.h
  	packing/windows/AxisApiDemo/targetver.h
  	packing/windows/AxisApiDemo/Common.h
  	packing/windows/AxisApiDemo/httpHeader.h

Running actions's SHA is below

Download action repository 'cpp-linter/cpp-linter-action@v2' (SHA:0f6d1b8d7e38b584cbee606eb23d850c217d54f8)

Some workflow works well last week.(using v2.15.1)

INFO:CPP Linter:Ignoring the following paths/files/patterns:
	./.
INFO:CPP Linter:Not ignoring the following paths/files/patterns:
	./packing/ios
	./axhttp/ios
	./pkg/sdk
Get list of specified source files
  INFO:CPP Linter:Fetching files list from url: https://api.github.com/repos/cyberandao/sdk/pulls/162
  INFO:CPP Linter:Giving attention to the following files:
  	axhttp/ios/urlsession/oc-urlsession/demo/demo/ViewController.m
  	axhttp/ios/urlsession/oc-urlsession/demo/demo/SceneDelegate.m
  	axhttp/ios/urlsession/oc-urlsession/demo/demo/main.m
Download action repository 'cpp-linter/cpp-linter-action@v2' (SHA:18f74295e9f27f4541a8e9491c10015b48cc4faa)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions