Skip to content

Commit 3a0e522

Browse files
hrushikeshdeshpandeterinjokes
authored andcommitted
chore(workflow): update semgrep.yml
Update the semgrep workflow to always use the "ubuntu-latest" release and on the "trunk" branch.
1 parent 49099f4 commit 3a0e522

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/semgrep.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
21
on:
32
pull_request: {}
43
workflow_dispatch: {}
5-
push:
4+
push:
65
branches:
7-
- main
8-
- master
6+
- trunk
97
schedule:
10-
- cron: '0 0 * * *'
8+
- cron: "0 0 * * *"
119
name: Semgrep config
1210
jobs:
1311
semgrep:
1412
name: semgrep/ci
15-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1614
env:
1715
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
1816
SEMGREP_URL: https://cloudflare.semgrep.dev
@@ -21,5 +19,5 @@ jobs:
2119
container:
2220
image: returntocorp/semgrep
2321
steps:
24-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2523
- run: semgrep ci

0 commit comments

Comments
 (0)