Skip to content

hyperlaunch/scc-check-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SCC Code Report Action

SCC provides helpful metrics line complexity, effort and cost for a codebase. This GitHub Action runs SCC to generate a code metrics report and publishes the result as a GitHub Check.

Note: The check can be run on commit, etc - but the output is based on the state of the entire codebase.

Usage

name: SCC Code Report

on:
  push:
    branches:
      - main

permissions: # Set permissions at workflow level - to ensure the check can be written
  contents: read
  checks: write

jobs:
  scc_count:
    runs-on: ubuntu-latest
    steps:
      - name: Run SCC Code Report
        uses: hyperlaunch/scc-check-action@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

About

runs SCC to generate a code metrics report and publishes the result as a GitHub Check

Resources

Stars

Watchers

Forks

Packages

No packages published