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+ name : Improve Code Comments
2+ on :
3+ push :
4+ branches :
5+ - main
6+ workflow_dispatch :
7+ permissions :
8+ contents : read
9+ pull-requests : write
10+ models : read
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+ jobs :
15+ run-script :
16+ runs-on : ubuntu-latest
17+ steps :
18+ # Cache the generated model requests made by GenAIScript
19+ #
20+ # A new cache is created for each run to ensure that the latest model requests are used,
21+ # but previous caches can be restored and reused if availble.
22+ - uses : actions/cache@v4
23+ with :
24+ path : .genaiscript/cache/**
25+ key : genaiscript-${{ github.run_id }}
26+ restore-keys : genaiscript-
27+ - uses : actions/checkout@v4
28+ - uses : pelikhan/action-genai-commentor@main
29+ with :
30+ github_token : ${{ secrets.GITHUB_TOKEN }}
31+ update_existing : true
32+ max_edits : 10
You can’t perform that action at this time.
0 commit comments