update use-frozen-lockfile rule #428
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: semgrep-rules-pro benchmark | |
on: | |
workflow_dispatch: | |
push: | |
branches: [develop, release] | |
pull_request: | |
branches: [develop, release] | |
jobs: | |
trigger: | |
# do not run automatically if rule is posted from the playground (can still be started manually) | |
# PRs posted by first time contributors already need approval as well | |
if: github.actor != 'semgrep-dev-pr-bot' | |
runs-on: ubuntu-20.04 | |
steps: | |
- id: trigger-run | |
name: Trigger semgrep-rules-pro benchmarking argo workflow on PR/push to develop or release | |
env: | |
RULES_REPO: ${{ github.event.repository.name }} | |
COMP_BRANCH: ${{ github.head_ref }} | |
BASE_BRANCH: ${{ github.event.pull_request.base.ref }} | |
run: | | |
curl -X POST https://argoworkflows-dev.corp.r2c.dev/api/v1/events/security-research/pro-perf-scan-test -H "Authorization: ${{ secrets.ARGO_WORKFLOWS_TOKEN }}" -d "{\"base_branch\": \"$BASE_BRANCH\", \"comparison_branch\": \"$COMP_BRANCH\", \"rules_repository\": \"$RULES_REPO\"}" | |