I am trying to exclude .md
files from my super linter because it gets caught every time but can't seem to figure it out can someone help?
jobs:
super-linter:
name: Lint code and merge
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Super-Linter
uses: github/super-linter@v4.10.1
with:
exclusions: |
markdown: true
files: ${{ join(github.event.push_request.changed_files, ',') }}
deploy:
runs-on: self-hosted
needs: [super-linter]
steps:
#- uses: actions/checkout@v2 #this is used for if you want to push all source code into runner
- name: update code base
working-directory: /test_pipe/www/html
run: sudo git pull origin master
- name: restart
working-directory: /test_pipe/www/html
run: sudo systemctl restart nginx
I have tried using exclude and ignore but with no luck.