Bump com.microsoft.azure:azure-webapp-maven-plugin from 2.2.0 to 2.13.0 in /todo #122
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
# For most projects, this workflow file will not need changing; you simply need | |
# to commit it to your repository. | |
# | |
# You may wish to alter this file to override the set of languages analyzed, | |
# or to provide custom queries or build logic. | |
name: 31-SAST-Semgrep | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.txt' | |
pull_request: | |
# These types are all required for CRDA to scan pull requests correctly and securely. | |
types: [ opened, synchronize, reopened, labeled, edited ] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.txt' | |
schedule: | |
- cron: '35 14 * * 1' | |
workflow_call: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
semgrep: | |
# User-definable name of this GitHub Actions job: | |
name: ci/semgrep | |
# If you are self-hosting, change the following `runs-on` value: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
container: | |
# A Docker image with Semgrep installed. Do not change this. | |
image: returntocorp/semgrep | |
# To 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: semgrep ci -o results.sarif --sarif || true | |
env: | |
# Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable. | |
SEMGREP_RULES: p/default p/security-audit # more at semgrep.dev/explore | |
# Uncomment SEMGREP_TIMEOUT to set this job's timeout (in seconds): | |
# Default timeout is 1800 seconds (30 minutes). | |
# Set to 0 to disable the timeout. | |
# SEMGREP_TIMEOUT: 300 | |
- name: Upload Semgrep Report | |
uses: actions/[email protected] | |
if: always() | |
with: | |
name: semgrep.sarif | |
path: ${{github.workspace}}/results.sarif | |
- name: Upload analysis results to GitHub Security tab | |
if: always() | |
uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: ${{github.workspace}}/results.sarif |