feat: initial pr-review-prep skill #2
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: risk-scan unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Make scripts executable | |
| run: chmod +x scripts/risk-scan.sh test/run.sh | |
| - name: Shellcheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| scandir: ./scripts | |
| additional_files: test/run.sh | |
| - name: Run tests | |
| run: bash test/run.sh |