ci-repo-watcher: use full name of comment-or-create action #279
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: ci-lint | |
on: | |
push: | |
branches: [ master, main ] | |
pull_request: | |
workflow_call: | |
jobs: | |
lint-linux: | |
name: Lint sources | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Yaml lint | |
run: | | |
sudo apt-get install yamllint | |
yamllint cimas-config/ | |
- name: Shellcheck lint | |
run: | | |
if stat -t *.sh >/dev/null 2>&1 | |
then | |
sudo apt-get install shellcheck | |
shellcheck *.sh | |
else | |
echo "No shell scripts files found" | |
fi | |