https://github.com/kiliczsh/codebase-scanner
GitHub Action that searches for given keyword in your codebase path.
https://github.com/kiliczsh/codebase-scanner
actions console-log
Last synced: about 2 months ago
JSON representation
GitHub Action that searches for given keyword in your codebase path.
- Host: GitHub
- URL: https://github.com/kiliczsh/codebase-scanner
- Owner: kiliczsh
- Created: 2021-05-01T12:19:56.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-01T15:04:01.000Z (about 5 years ago)
- Last Synced: 2025-11-13T19:06:30.543Z (7 months ago)
- Topics: actions, console-log
- Language: JavaScript
- Homepage:
- Size: 755 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Codebase Scanner
Searches for given keyword in your codebase path.
## Sample Config
```
with:
scan-keyword: 'console.log'
codebase-path: './codebase/src'
extension-filter: '.js'
pass-fail: 'false'
```
## Sample Workflow
```
name: Codebase Scanner
on:
push:
branches: [ main ]
jobs:
scan_for_keyword:
runs-on: ubuntu-20.04
steps:
- name: Get Code Into Codebase
uses: actions/checkout@v2
with:
path: ./codebase
- name: Codebase Scanner
id: codebase-scanner
uses: kiliczsh/codebase-scanner@v1.0.0
with:
scan-keyword: 'console.log'
codebase-path: './codebase/src'
extension-filter: '.js'
pass-fail: 'true'
- name: Display Result
run: echo " ${{ steps.codebase-scanner.outputs.results }}"
```