Add SCP error handling in Quicksight identity region checks #264
Workflow file for this run
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: Run Semgrep | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- release/* | |
- main-v2 | |
- v2m* | |
permissions: | |
contents: read | |
jobs: | |
semgrep: | |
runs-on: ubuntu-latest | |
container: | |
# A Docker image with Semgrep installed. Do not change this. | |
image: returntocorp/semgrep | |
# Skip any PR created by dependabot to avoid permission issues: | |
if: (github.actor != 'dependabot[bot]') | |
steps: | |
# Fetch project source with GitHub Actions Checkout. | |
- uses: actions/checkout@v3 | |
# Run the "semgrep ci" command on the command line of the docker image. | |
- run: semgrep scan --error --verbose --metrics=off | |
env: | |
# Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable. | |
SEMGREP_RULES: p/default # more at semgrep.dev/explore |