4242 uses : tuxcare/vex-auto-triage@v1
4343 with :
4444 ecosystems : ' java,python'
45- gh- token : ${{ secrets.GITHUB_TOKEN }}
45+ token : ${{ secrets.GITHUB_TOKEN }}
4646` ` `
4747
4848## Configuration
5252| Input | Required | Default | Description |
5353|-------|----------|---------|-------------|
5454| ` ecosystems` | Yes | - | Comma-separated list of ecosystems to process: `java`, `python`, `javascript`, `php` |
55- | `gh- token` | Yes | - | GitHub token with `security_events` write permission |
55+ | `token` | Yes | - | GitHub token with `security_events` write permission |
5656| `dry-run` | No | `false` | If `true`, simulates dismissals without actually dismissing alerts |
5757| `max-alerts` | No | `0` | Maximum number of alerts to process (0 = unlimited, useful for testing) |
5858| `verbosity` | No | `INFO` | Logging level : ` DEBUG` , `INFO`, `WARNING`, `ERROR` |
@@ -75,7 +75,7 @@ permissions:
7575- uses: tuxcare/vex-auto-triage@v1
7676 with:
7777 ecosystems: 'java'
78- gh- token: ${{ secrets.GITHUB_TOKEN }}
78+ token: ${{ secrets.GITHUB_TOKEN }}
7979` ` `
8080
8181# ## Multiple Ecosystems
@@ -84,7 +84,7 @@ permissions:
8484- uses: tuxcare/vex-auto-triage@v1
8585 with:
8686 ecosystems: 'java,python,javascript,php'
87- gh- token: ${{ secrets.GITHUB_TOKEN }}
87+ token: ${{ secrets.GITHUB_TOKEN }}
8888` ` `
8989
9090# ## Dry-Run Mode (Testing)
@@ -95,7 +95,7 @@ Test the action without dismissing alerts:
9595- uses: tuxcare/vex-auto-triage@v1
9696 with:
9797 ecosystems: 'java'
98- gh- token: ${{ secrets.GITHUB_TOKEN }}
98+ token: ${{ secrets.GITHUB_TOKEN }}
9999 dry-run: 'true'
100100 verbosity: 'DEBUG'
101101` ` `
@@ -108,7 +108,7 @@ Process only the first 10 alerts:
108108- uses: tuxcare/vex-auto-triage@v1
109109 with:
110110 ecosystems: 'java'
111- gh- token: ${{ secrets.GITHUB_TOKEN }}
111+ token: ${{ secrets.GITHUB_TOKEN }}
112112 max-alerts: '10'
113113` ` `
114114
@@ -140,7 +140,7 @@ jobs:
140140 - uses: tuxcare/vex-auto-triage@v1
141141 with:
142142 ecosystems: 'java,python'
143- gh- token: ${{ secrets.GITHUB_TOKEN }}
143+ token: ${{ secrets.GITHUB_TOKEN }}
144144 dry-run: ${{ inputs.dry_run }}
145145` ` `
146146
0 commit comments