You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
#
|
|
# Author: Hari Sekhon
|
|
# Date: Tue Feb 4 09:53:28 2020 +0000
|
|
#
|
|
# vim:ts=2:sts=2:sw=2:et
|
|
#
|
|
# https://github.com/HariSekhon/DevOps-Bash-tools
|
|
#
|
|
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
|
|
#
|
|
# https://www.linkedin.com/in/HariSekhon
|
|
#
|
|
|
|
# ============================================================================ #
|
|
# S e m g r e p C l o u d W o r k f l o w
|
|
# ============================================================================ #
|
|
|
|
# Logs results to https://semgrep.dev/
|
|
|
|
---
|
|
name: Semgrep Cloud
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- main
|
|
workflow_dispatch:
|
|
inputs:
|
|
debug:
|
|
type: boolean
|
|
required: false
|
|
default: false
|
|
schedule:
|
|
- cron: '0 0 * * 1'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.ref }}-${{ github.workflow }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
semgrep:
|
|
if: github.event.repository.fork == false
|
|
name: Semgrep Cloud
|
|
uses: HariSekhon/GitHub-Actions/.github/workflows/semgrep-cloud.yaml@master
|
|
secrets:
|
|
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|