Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saumilmac authored Feb 6, 2024
1 parent 8378cdf commit 282aab7
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
name: Trigger CircleCI Vulnerability Scan Pipeline on Release

on:
release:
types:
- published

jobs:
trigger-circleci:
runs-on: ubuntu-latest

steps:
- name: Trigger CircleCI Pipeline
if: contains(github.event.release.tag_name, 'rc') == false
run: |
curl --request POST \
--url https://circleci.com/api/v2/project/gh/snyk/code-local-engine/pipeline \
--header "Circle-Token: ${{ secrets.CIRCLECI_API_KEY }}" \
--header "content-type: application/json" \
--data '{"branch":"main","parameters":{"isRC": false, "is-scheduled-scan": true}}'
env:
CIRCLECI_API_KEY: ${{ secrets.CIRCLECI_API_KEY }}

0 comments on commit 282aab7

Please sign in to comment.