Skip to content

Trying again to perfect the translation merge runner #15

Trying again to perfect the translation merge runner

Trying again to perfect the translation merge runner #15

name: Check that we dont have extended ascii or utf boms in our files
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
- main
- prime
pull_request:
branches:
- master
- main
- prime
jobs:
extendedAsciiAndBom:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: check for files known to cause problems
run: find . -type f | grep -vP "^./.git" | xargs file | grep -iP "bom|extended|iso"
- name:
if: failure()
uses: unsplash/comment-on-pr@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: "Please note that this push or pull request seems to contain files other than ascii or utf8 without bom."