Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for subdirectory scanning 📁 #294

Merged

Conversation

jamacku
Copy link
Member

@jamacku jamacku commented Aug 14, 2023

Using the new input parameter scan-directory, it is now possible to scan only the specified subdirectory of the repository.

The detection of shell scripts will be performed on files inside the scan directory only. It can be combined with the exclude-path and include-path inputs.


  • test functionality
  • add tests
  • add documentation with an example
  • add changelog

@jamacku jamacku added the type: feature New feature label Aug 14, 2023
@jamacku jamacku added this to the v5.0.0 milestone Aug 14, 2023
@jamacku jamacku self-assigned this Aug 14, 2023
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #294 (3ed66aa) into main (59b4870) will increase coverage by 0.28%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #294      +/-   ##
==========================================
+ Coverage   83.94%   84.22%   +0.28%     
==========================================
  Files           4        4              
  Lines         274      279       +5     
==========================================
+ Hits          230      235       +5     
  Misses         44       44              
Files Changed Coverage Δ
src/functions.sh 83.33% <100.00%> (+0.59%) ⬆️

@jamacku jamacku force-pushed the support-for-subdir-scannig branch 4 times, most recently from 230e7f3 to 555e70e Compare August 14, 2023 14:29
@mergify mergify bot added the test label Aug 14, 2023
Using the new input parameter `scan-directory`, it is now possible to
scan only the specified subdirectory of the repository.

The detection of shell scripts will be performed on files inside the
scan directory only. It can be combined with the `exclude-path` and
`include-path` inputs.
@jamacku jamacku merged commit 1785b3b into redhat-plumbers-in-action:main Aug 16, 2023
9 checks passed
@jamacku jamacku deleted the support-for-subdir-scannig branch August 16, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to scan only certain directory/paths instead of the whole repo 📁
1 participant