fix: capture stdout and extract blog draft via frontmatter marker (#69) #239
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: ASH Security Scan | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install ASH | |
| run: pip install git+https://github.com/awslabs/automated-security-helper.git@v3.2.4 | |
| - name: Run ASH scan | |
| run: ash --mode local --fail-on-findings | |
| - name: Upload scan results | |
| uses: actions/upload-artifact@v5 | |
| if: always() | |
| with: | |
| name: ash-results | |
| path: .ash/ash_output/ |