Skip to content

Python SDK sync with Merge API (#99) #228

Python SDK sync with Merge API (#99)

Python SDK sync with Merge API (#99) #228

Workflow file for this run

name: Semgrep
on:
# diff aware on every PR
pull_request: {}
# allow manual triggering
workflow_dispatch: {}
# full scan on push to master
push:
branches: ["main"]
# Full scan on every Monday at 12:30 UTC/8:30 ET
schedule:
- cron: "30 12 * * 1"
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
# Skip any PR created by dependabot to avoid permission issues:
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
# Semgrep can only parse one requirements.txt
- run: |
curl --location --show-error --silent --output poetry.py https://install.python-poetry.org \
&& echo '66db5477a597b6176202ef77792076057ce50d2c5a2d2d2978c63e1f144d7b95' poetry.py | sha256sum -c \
&& python poetry.py -y \
&& /github/home/.local/bin/poetry install \
&& semgrep ci
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}