add LFS action to scan flows in PRs #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: Scan Flows | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| scan-flows: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read # Read flow files | |
| pull-requests: read # List changed files in PR | |
| security-events: write # Upload SARIF to Code Scanning | |
| actions: read # Required to gather metadata for telemetry | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Lightning Flow Scan | |
| id: flowscanner | |
| uses: Flow-Scanner/[email protected] | |
| with: | |
| sarif-only: false | |
| # - name: Upload SARIF to Code Scanning | |
| # uses: github/codeql-action/upload-sarif@v3 | |
| # with: | |
| # sarif_file: ${{ steps.flowscanner.outputs.sarifPath }} |