chore(deps): update dependency xamarin.androidx.work.runtime to 2.11.1.1 #26
Workflow file for this run
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: Security Scan Repo | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| - tools | |
| - release/* | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| security-events: write | |
| checks: write | |
| actions: read | |
| jobs: | |
| security_scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Security Scan FS | |
| uses: aquasecurity/trivy-action@0.34.2 | |
| with: | |
| version: v0.69.2 #remove this once fix is released https://github.com/aquasecurity/trivy-action/issues/517 | |
| scan-type: "fs" | |
| format: "sarif" | |
| output: "trivy-results-fs.sarif" | |
| - name: Security Scan Config | |
| uses: aquasecurity/trivy-action@0.34.2 | |
| with: | |
| version: v0.69.2 #remove this once fix is released https://github.com/aquasecurity/trivy-action/issues/517 | |
| scan-type: "config" | |
| format: "sarif" | |
| output: "trivy-results-config.sarif" | |
| skip-files: Dockerfile | |
| - name: Edit Trivy Sarif result | |
| run: | | |
| jq ".runs[0].tool.driver.name = \"Trivy-repo\"" ./trivy-results-fs.sarif > ./trivy-results-fs-edited.sarif | |
| jq ".runs[0].tool.driver.name = \"Trivy-config\"" ./trivy-results-config.sarif > ./trivy-results-config-edited.sarif | |
| - name: Comment PR | |
| uses: thollander/actions-comment-pull-request@v3 | |
| if: github.event.pull_request | |
| with: | |
| message: | | |
| :shield: The security scan result : [Repo](https://github.com/${{ github.repository }}/security/code-scanning?query=is%3Aopen+ref%3A${{ github.ref }}+tool%3ATrivy-repo) and [Config](https://github.com/${{ github.repository }}/security/code-scanning?query=is%3Aopen+ref%3A${{ github.ref }}+tool%3ATrivy-config) | |
| comment-tag: "The security scan result of the repo" | |
| - name: Upload security scan report FS | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: "trivy-results-fs-edited.sarif" | |
| - name: Upload security scan report Config | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: "trivy-results-config-edited.sarif" |