awesome-embedded-and-iot-se.../.github/workflows/awesome-lint.yml
Enkelmann 1ab5798017
Run linter on pushes to the master branch
Run the awesome-lint Github action on pushes to the master branch, so that we get the nice green check sign on the main repository site.
2021-01-12 15:15:32 +01:00

20 lines
496 B
YAML

name: awesome-lint github action
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
awesome-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # fix remark-lint:awesome-git-repo-age
- name: Test awesome-lint with custom file path
uses: jthegedus/github-action-awesome-lint@68fc989d5a01aa127ce502a59f72ebe4166386f1 # commit_sha of tag v0.1.0
with:
args: 'readme.md'