Push from Moe-abdulhai initiated a Security Scan π #20
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: SAST Scan | |
run-name: Push from ${{ github.actor }} initiated a Security Scan π | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- "mab_coworking" | |
jobs: | |
sast-scan: | |
runs-on: ubuntu-latest | |
container: avarteqgmbh/bearer-osv-scan | |
steps: | |
- name: Checkout repo inside CI runner | |
uses: actions/checkout@v4 | |
- name: Setup results file | |
run: | | |
mkdir scan_results | |
touch ./scan_results/bearer.out.json | |
git config --global --add safe.directory '*' | |
- name: SAST Scan | |
working-directory: . | |
run: bearer scan . ./ci/config/bearer.yml | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: scanner-bot | |
author_email: [email protected] | |
message: '[bot] Add SAST scan results' |