Skip to content

Codebase Scanner

Actions
Scan codebase for existence scan keyword
v1.0.0
Latest
Star (1)

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/[email protected]
        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 }}"


Codebase Scanner is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Scan codebase for existence scan keyword
v1.0.0
Latest

Codebase Scanner is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.