Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
corner-down-left

GitHub Action

Enforce-CRLF

v1

Enforce-CRLF

corner-down-left

Enforce-CRLF

Enforce CRLF

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Enforce-CRLF

uses: DecimalTurn/Enforce-CRLF@v1

Learn more about this action in DecimalTurn/Enforce-CRLF

Choose a version

A simple GitHub Action to enforce CRLF on selected file types in your repo.

Example worflow:

name: Enforce-CRLF

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

permissions:
  contents: write

jobs:
  enforce-crlf:
    runs-on: ubuntu-latest
    steps:
    - name: Enforce CRLF action
      uses: DecimalTurn/Enforce-CRLF@main
      with:
        extensions: .bas, .frm, .cls