Skip to content

getcodelimit/codelimit-action

Repository files navigation

codelimit-action

To run Code Limit on every push and before every merge to main, append it to your GH Action workflow:

name: 'main'
on:
  push:
    branches: 
      - main
  pull_request:
    branches: 
      - main
  jobs:
    ci:
      runs-on: ubuntu-latest
      steps:
        - name: 'Checkout sources'
          uses: actions/checkout@v4
        - name: 'Run Code Limit'
          uses: getcodelimit/codelimit-action@main

Upload report

To upload the report to Code Limit, add the following step to your workflow:

        - name: 'Run Code Limit'
          uses: getcodelimit/codelimit-action@main
          with:
            upload: true
            token: ${{ secrets.GITHUB_TOKEN }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published