Sha256: 098cb2d5367b940c46aa9ad3e235590c09f644f109e58e0b25697a4238b1d2ae

Contents?: true

Size: 1.59 KB

Versions: 23

Compression:

Stored size: 1.59 KB

Contents

# Name of this GitHub Actions workflow.
name: Semgrep

on:
  # Scan changed files in PRs (diff-aware scanning):
  # The branches below must be a subset of the branches above
  pull_request:
    branches: ["master", "main"]
  push:
    branches: ["master", "main"]
  schedule:
    - cron: '0 6 * * *'


permissions:
  contents: read

jobs:
  semgrep:
    # User definable name of this GitHub Actions job.
    permissions:
      contents: read  # for actions/checkout to fetch code
      security-events: write  # for github/codeql-action/upload-sarif to upload SARIF results
    name: semgrep/ci 
    # If you are self-hosting, change the following `runs-on` value: 
    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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
      # Run the "semgrep ci" command on the command line of the docker image.
      - run: semgrep ci --sarif --output=semgrep.sarif
        env:
            # Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable. 
            SEMGREP_RULES: p/default # more at semgrep.dev/explore

      - name: Upload SARIF file for GitHub Advanced Security Dashboard
        uses: github/codeql-action/upload-sarif@6c089f53dd51dc3fc7e599c3cb5356453a52ca9e # v2.20.0
        with:
          sarif_file: semgrep.sarif
        if: always()

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
percy-appium-app-1.0.0 .github/workflows/Semgrep.yml
percy-selenium-1.1.0 .github/workflows/Semgrep.yml
percy-selenium-1.1.0.pre.beta.2 .github/workflows/Semgrep.yml
percy-selenium-1.1.0.pre.beta.1 .github/workflows/Semgrep.yml
percy-selenium-1.1.0.pre.beta.0 .github/workflows/Semgrep.yml
percy-appium-app-0.0.8 .github/workflows/Semgrep.yml
percy-client-2.1.1 .github/workflows/Semgrep.yml
percy-client-2.1.0 .github/workflows/Semgrep.yml
percy-appium-app-0.0.7 .github/workflows/Semgrep.yml
percy-appium-app-0.0.6 .github/workflows/Semgrep.yml
percy-appium-app-0.0.5 .github/workflows/Semgrep.yml
percy-appium-app-0.0.5.pre.beta.1 .github/workflows/Semgrep.yml
percy-appium-app-0.0.5.pre.beta.0 .github/workflows/Semgrep.yml
percy-appium-app-0.0.4 .github/workflows/Semgrep.yml
percy-common-3.1.9 .github/workflows/Semgrep.yml
percy-selenium-1.0.2 .github/workflows/Semgrep.yml
percy-appium-app-0.0.2.pre.beta.0 .github/workflows/Semgrep.yml
percy-selenium-1.0.2.pre.beta.0 .github/workflows/Semgrep.yml
percy-appium-app-0.0.3 .github/workflows/Semgrep.yml
percy-appium-app-0.0.2 .github/workflows/Semgrep.yml