We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8b84e commit 2a5c7b3Copy full SHA for 2a5c7b3
2 files changed
.github/workflows/lint-whitespaces.yml
@@ -0,0 +1,19 @@
1
+name: Lint trailing whitespaces
2
+
3
+on:
4
+ pull_request:
5
+ branches: ["main"]
6
+ workflow_dispatch:
7
8
+concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ lint-whitespaces:
14
+ name: Lint trailing whitespaces
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v6
18
+ - name: Lint trailing whitespaces
19
+ run: bash ./scripts/lintWhitespaces.sh
scripts/lintWhitespace.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
tmpfile=$(mktemp)
issues_found=0
0 commit comments