我试图从我的超级 linter 中排除 md 文件,因为它每次都会被捕获但似乎无法弄清楚有人可以帮忙吗?
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/[email protected]
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
我试过使用排除和忽略但没有运气