Skip to content

getcodelimit/codelimit-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bf06e1f Β· Jan 8, 2025
Jan 8, 2025
Jan 8, 2025
Dec 4, 2024
Jan 8, 2025
Dec 18, 2024
Nov 28, 2024
Dec 6, 2024
Nov 30, 2024
Jan 8, 2025
Jan 2, 2025
Dec 23, 2024
Nov 28, 2024
Dec 23, 2024

Repository files navigation

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'