Database Settings: idempotent mass operations, necessary cleanup and script using it for real use case #297
Workflow file for this run
This file contains hidden or 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@v4 | |
| - 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/* |