Skip to content

ir-playground/simple-javascript-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo API

A simple Node.js API for managing todo items.

InvisiRisk Integration

To integrate InvisiRisk into your GitHub workflow, add the following steps to each job in your workflow file:

1. Add the Setup PSE step at the beginning of each job:

- name: Setup PSE
  uses: invisirisk/pse-action@v1.0.20
  with:
    api_url: "https://app.invisirisk.com"
    app_token: ${{ secrets.IR_API_KEY }}

2. Add the Cleanup PSE step at the end of each job:

- name: Cleanup PSE
  if: always()
  uses: invisirisk/pse-action@v1.0.20
  with:
    cleanup: "true"

3. Set up the required secret:

You need to set the IR_API_KEY secret in your GitHub repository settings. This API key can be obtained from the InvisiRisk portal.

Example workflow:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      
      - name: Setup PSE
        uses: invisirisk/pse-action@v1.0.20
        with:
          api_url: "https://app.invisirisk.com"
          app_token: ${{ secrets.IR_API_KEY }}
          
      # Your other build steps here
      
      - name: Cleanup PSE
        if: always()
        uses: invisirisk/pse-action@v1.0.20
        with:
          cleanup: "true"

About

Simple JavaScript Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors