Skip to content

Code scanning alerts bulk dismissal

Actions
Dismiss a large amount of code scanning alerts
v1.1.0
Latest
Star (3)

Code scanning alerts bulk dismissal

This action lets you automatically dismiss a large amount of code scanning alerts, based on one or more source files/folders

Table of Contents

Platforms

The action is written in PowerShell and is executed inside a PowerShell Core shell, therefore the action is cross-platform and works on all latest available GitHub Actions operation systems:

  • windows-latest
  • ubuntu-latest
  • macos-latest

Usage


name: CSABD

on: [workflow_dispatch]

jobs:
  test:
    runs-on: windows-latest
    steps:
      - name: Run CSABD tool
        uses: pipeline-foundation/csabd@main
        with:
            token: ${{ secrets.CSABD_TOKEN }}
            source: '/folder/'
            # for multiple entries use the following syntax with no spaces around commas
            # source: '/folder/,file.cs,/folder/file.cs,/main-folder/sub-folder/'

  • both parameters are REQUIRED

  • the secret's name used for token is only exemplary

  • be sure to use forward slash in the beginning and end of the folder name /name-of-folder/ to select a particular folder, because name-of-folder/ or name-of-folder would match some-name-of-folder/ and/or /name-of-folder-1 (same with a forward slash in the beginning of a file declaration /file.cs)

  • see action.yml for the full documentation for this action's inputs and outputs.

  • the action is intended to be used in an independent pipeline, with the workflow_dispatch event to start it manually, after reviewing the results of a code scanning pipeline and determining the source of the alerts

Code scanning alerts bulk dismissal is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Dismiss a large amount of code scanning alerts
v1.1.0
Latest

Code scanning alerts bulk dismissal is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.