Add GitHub Actions file health workflow

This commit is contained in:
FranciscoPombal
2020-10-26 16:31:25 +00:00
parent 41ae2bfb84
commit 8bb097fd10
2 changed files with 102 additions and 0 deletions

27
.github/workflows/file_health.yaml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: GitHub Actions file health check
on:
push:
branches: [ '**' ]
pull_request:
types: [edited, opened, reopened, synchronize]
branches: [ '**' ]
jobs:
check_file_health:
name: Check file health
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2.3.3
- name: install zsh
run: |
sudo apt update
sudo apt install zsh
- name: run check file health script
run: |
./.github/workflows/file_health.sh