Files
RSSHub/.github/workflows/semgrep.yml
T
Tony b0ff4a0fee docs: split docs package for vuepress (#12382)
* docs: split docs package for vuepress

* fix: yarn lock changes gha

* fix: remove npm script at top level

* docs: update oneclick link

refs: https://github.blog/changelog/2023-04-24-one-click-into-github-codespaces
2023-04-25 22:20:56 +08:00

27 lines
537 B
YAML

on:
pull_request_target:
branches:
- master
paths:
- .github/workflows/semgrep.yml
push:
branches:
- master
paths:
- .github/workflows/semgrep.yml
schedule:
# random HH:MM to avoid a load spike on GitHub Actions at 00:00
- cron: 21 20 * * *
name: Semgrep
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v3
- run: semgrep ci