Lintrule Documentation


    How to use Lintrule in a Buildkite Pipeline

    Create a new secret and add it as an environment variable (LINTRULE_SECRET) to your GitHub Action.

    rules secrets create

    Then add the following to your pipeline:

      - label: ":github: Checkout"
          - "git clone ."
          - "git fetch --depth=2"
      - label: ":package: Install Lint Rules"
        command: "curl -fsSL | bash"
      - label: ":hammer: Run Lint Rules Check"
        # Assumes there's a "LINTRULE_SECRET" environment variable
        command: "rules check"