File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #
2+ # Sonatype Guide - Agentic Patches Workflow
3+ # This workflow was automatically created by the Sonatype Guide GitHub App.
4+ # Learn more: https://guide.sonatype.com
5+ #
6+
7+ name : Sonatype Guide - Agentic Patches
8+
9+ on :
10+ workflow_dispatch :
11+ inputs :
12+ mode :
13+ description : ' Run mode'
14+ required : false
15+ default : ' standard'
16+ type : choice
17+ options :
18+ - standard
19+ - security
20+ vulnerabilities :
21+ description : ' Vulnerable packages JSON (for security mode)'
22+ required : false
23+ type : string
24+
25+ concurrency :
26+ group : agp-${{ github.ref }}
27+ cancel-in-progress : false
28+
29+ jobs :
30+ agp :
31+ runs-on : ubuntu-latest
32+ permissions :
33+ contents : write
34+ pull-requests : write
35+
36+ steps :
37+ - name : Checkout repository
38+ uses : actions/checkout@v4
39+
40+ - name : Run Sonatype Guide AGP
41+ uses : sonatype/agp-action@v1
42+ with :
43+ mode : ${{ inputs.mode }}
44+ vulnerabilities : ${{ inputs.vulnerabilities }}
45+ create-pr : true
46+ env :
47+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments