pt-br: Format /web/api using Prettier (part 4) #14758
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
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 ] |