From 0db3308ee82c2524eb89d8812f67c7b75d53a99a Mon Sep 17 00:00:00 2001 From: A1lo Date: Wed, 16 Aug 2023 09:00:45 +0800 Subject: [PATCH] chore(ci): remove 'Check for duplicates' workflow (#15050) * chore(ci): remove 'Check for duplicates' workflow * revert the change made by prettier --- .github/workflows/pr-check_duplicates.yml | 26 ----------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/pr-check_duplicates.yml diff --git a/.github/workflows/pr-check_duplicates.yml b/.github/workflows/pr-check_duplicates.yml deleted file mode 100644 index 71bdf04d919425..00000000000000 --- a/.github/workflows/pr-check_duplicates.yml +++ /dev/null @@ -1,26 +0,0 @@ -# This is a copy of -# https://github.com/mdn/content/blob/main/.github/workflows/pr-check_duplicates.yml -name: Check for duplicates - -on: - pull_request: - branches: - - main - paths: - - files/**/index.* - - .github/workflows/pr-check_duplicates.yml - -jobs: - check_duplicates: - # do not run on PRs in forks - if: github.repository == 'mdn/translated-content' - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Check for duplicates - run: | - find files -name 'index.*' -type f -printf '%h\n' | sort | uniq -d > dupes.txt - cat dupes.txt - [ ! -s dupes.txt ]