Merge pull request #10806 from IQSS/8581-crossref-provider2 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Shellcheck" | |
on: | |
push: | |
branches: | |
- develop | |
paths: | |
- conf/solr/**/.sh | |
- modules/container-base/**/*.sh | |
- modules/container-configbaker/**/*.sh | |
pull_request: | |
branches: | |
- develop | |
paths: | |
- conf/solr/**/*.sh | |
- modules/container-base/**/*.sh | |
- modules/container-configbaker/**/*.sh | |
jobs: | |
shellcheck: | |
name: Shellcheck | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: shellcheck | |
uses: reviewdog/action-shellcheck@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-review # Change reporter. | |
fail_on_error: true | |
# Container base image uses dumb-init shebang, so nail to using bash | |
shellcheck_flags: "--shell=bash --external-sources" | |
# Exclude old scripts | |
exclude: | | |
*/.git/* | |
doc/* | |
downloads/* | |
scripts/database/* | |
scripts/globalid/* | |
scripts/icons/* | |
scripts/installer/* | |
scripts/issues/* | |
scripts/r/* | |
scripts/tests/* | |
tests/* |