mirror of
https://github.com/fkie-cad/awesome-embedded-and-iot-security.git
synced 2025-02-08 11:05:38 -05:00
![Enkelmann](/assets/img/avatar_default.png)
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.
20 lines
496 B
YAML
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'
|