Skip to content

Commit

Permalink
chore(workflow): update semgrep.yml
Browse files Browse the repository at this point in the history
Update the semgrep workflow to always use the "ubuntu-latest" release
and on the "trunk" branch.
  • Loading branch information
hrushikeshdeshpande authored and terinjokes committed Sep 23, 2024
1 parent 49099f4 commit 3a0e522
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@

on:
pull_request: {}
workflow_dispatch: {}
push:
push:
branches:
- main
- master
- trunk
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
name: Semgrep config
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
SEMGREP_URL: https://cloudflare.semgrep.dev
Expand All @@ -21,5 +19,5 @@ jobs:
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: semgrep ci

0 comments on commit 3a0e522

Please sign in to comment.