fleet/.github/workflows/semgrep-analysis.yml
dependabot[bot] 690595f9b3
Bump returntocorp/semgrep-action (#6417)
Bumps [returntocorp/semgrep-action](https://github.com/returntocorp/semgrep-action) from 619fcfc626fd7b93e0f350c46e67671f2c962265 to 1. This release includes the previously tagged commit.
- [Release notes](https://github.com/returntocorp/semgrep-action/releases)
- [Changelog](https://github.com/returntocorp/semgrep-action/blob/develop/CHANGELOG.md)
- [Commits](619fcfc626...177d02a2d1)

---
updated-dependencies:
- dependency-name: returntocorp/semgrep-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-28 18:30:50 -07:00

31 lines
862 B
YAML

name: Semgrep
on:
workflow_dispatch: # (manual dispatch)
schedule:
- cron: '0 2 * * *'
permissions:
contents: read
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
steps:
# Checkout project source
- uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
# Scan code using project's configuration on https://semgrep.dev/manage
- uses: returntocorp/semgrep-action@177d02a2d1c3f89e977083f7d979dc946b12323d # v1
with:
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
publishDeployment: ${{ secrets.SEMGREP_DEPLOYMENT_ID }}
# generateSarif: "1"
# # Upload SARIF file generated in previous step
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v1
# with:
# sarif_file: semgrep.sarif
# if: always()