File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ name: Knip
33on :
44 pull_request :
55
6- permissions :
7- checks : write
6+ permissions : write-all
87
98jobs :
109 run-knip :
1817 with :
1918 node-version : " 18.14.1"
2019
20+ - name : tree
21+ run : |
22+ pwd
23+ tree -L 3
24+ yarn install
25+
2126 - name : Post the knip results
2227 uses : gitcoindev/knip-reporter@v1.2.1
2328 with :
2429 verbose : true
30+ comment_id : ${{ github.workflow }}-reporter
31+ command_script_name : knip-ci
Original file line number Diff line number Diff line change 1919 "format:check" : " prettier -c src/**/*.ts" ,
2020 "format" : " prettier --write src" ,
2121 "knip" : " knip" ,
22+ "knip-ci" : " knip --no-exit-code --reporter json" ,
2223 "lint" : " eslint --ext .ts ./src" ,
2324 "start:serverless" : " tsx src/adapters/github/github-actions.ts" ,
2425 "start:watch" : " nodemon --exec 'yarn start'" ,
Original file line number Diff line number Diff line change @@ -331,6 +331,11 @@ export const calculateIssueAssigneeReward = async (incentivesCalculation: Incent
331331 } ;
332332} ;
333333
334+ export const unusedAction = async ( ) => {
335+ // catch me!
336+ await addLabelToIssue ( "unusedAction" ) ;
337+ } ;
338+
334339export const handleIssueClosed = async (
335340 creatorReward : RewardsResponse ,
336341 assigneeReward : RewardsResponse ,
You can’t perform that action at this time.
0 commit comments