Skip to content

Release 1.38.2

Release 1.38.2 #123

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# send a repository dispatch event
- name: repository dispatch event
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-python/dispatches --data '{"event_type": "python_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-node/dispatches --data '{"event_type": "node_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-rust/dispatches --data '{"event_type": "rust_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-java-maven/dispatches --data '{"event_type": "java-maven_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-php/dispatches --data '{"event_type": "php_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-go/dispatches --data '{"event_type": "go_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-java-gradle/dispatches --data '{"event_type": "java-gradle_sca_scan_test"}'
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/cdefense/vulnerable-dotnet/dispatches --data '{"event_type": "dotnet_sca_scan_test"}'
# Runs a set of commands using the runners shell
- name: finish up
run: |
echo Repository dispatch event sent!