From 3470c5314d039804ea4f3e166adf47f2ef8b5ac1 Mon Sep 17 00:00:00 2001 From: Sean OMeara Date: Mon, 13 Dec 2021 21:25:17 +0100 Subject: [PATCH] removing commit linter --- .github/workflows/badstrings.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/workflows/badstrings.yml diff --git a/.github/workflows/badstrings.yml b/.github/workflows/badstrings.yml deleted file mode 100644 index cb8e96690..000000000 --- a/.github/workflows/badstrings.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: badstrings -on: [pull_request, push] -jobs: - badstrings: - runs-on: ubuntu-latest - steps: - - name: scanning commit message for bad strings - run: | - #!/bin/bash - set -euo pipefail - IFS=$'\n\t' - message="${{ github.event.head_commit.message }}" - - strings=($(curl -s https://raw.githubusercontent.com/someara/badstrings/main/strings.txt)) - for i in ${strings[@]} ; do - echo "${message}" | grep -v "$i" &>/dev/null; - done