Backport of [ui] Fix: Actions should pass job id instead of job name into release/1.8.x #14770
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: Semgrep | |
on: | |
pull_request: {} | |
# Skipping push for now since it would run against the entire code base. | |
# push: | |
jobs: | |
semgrep: | |
name: Semgrep Scan | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep:1.36.0 | |
env: | |
SEMGREP_SEND_METRICS: 0 | |
# Skip any PR created by dependabot to avoid permission issues | |
if: (github.actor != 'dependabot[bot]') | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: semgrep ci --config=.semgrep/ | |
permissions: | |
contents: read |