185 add support to transfer check results to icinga2 via api #8
Workflow file for this run
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 (master) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
container-job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the stable ShellCheck container | |
run: | | |
sudo docker pull koalaman/shellcheck:stable | |
- name: Show ShellCheck version | |
run: | | |
docker run koalaman/shellcheck:stable --version | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: ShellCheck our scripts | |
run: | | |
docker run -v $(pwd):/scripts koalaman/shellcheck:stable --color=always --check-sourced --external-sources /scripts/usr/bin/modpd | |
docker run -v $(pwd):/scripts koalaman/shellcheck:stable --color=always --check-sourced --external-sources /scripts/usr/libexec/modpd/send_icinga2_api.sh |