Skip to content

Feature/qmm

Feature/qmm #23

Workflow file for this run

name: Ratbot
on:
pull_request_target
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Get the lines of code.
id: scc
uses: iryanbell/[email protected]
with:
args: ${{ env.workspace }} -irs
#TODO:
#Add model performance benchmarks
#Update comment to avoid noise
- name: Comment PR
uses: actions/github-script@v6
with:
script: |
const codeReport = `
\`\`\`\n
```
${{ steps.scc.outputs.scc }}
```
\`\`\`
</details>
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `${codeReport}`
})