Skip to content

Code Limit

Actions
Your Refactoring Alarm ⏰
v1
Latest
Star (0)

CodeLimit GitHub Action

Logo

Your Refactoring Alarm 🔔 As a GitHub Action

main codelimit

To run CodeLimit 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 CodeLimit'
        uses: getcodelimit/codelimit-action@v1

Inputs

  • token:
    • Description: GitHub token for storing results
    • Required: false
    • Default: ${{ github.token }}
  • check:
    • Description: Check changed files
    • Required: false
    • Default: true
  • codelimit_version:
    • Desciption: CodeLimit version
    • Required: false
    • Default: 'latest'

Code Limit 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

Your Refactoring Alarm ⏰
v1
Latest

Code Limit 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.