Skip to content

Commit cf7491a

Browse files
committed
workflow update
1 parent 3ddfca7 commit cf7491a

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/code_reviewer.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,8 @@ jobs:
1313
- name: Checkout Repo
1414
uses: actions/checkout@v3
1515

16-
- name: Clear cache
17-
uses: actions/github-script@v6
18-
with:
19-
script: |
20-
console.log("About to clear")
21-
const caches = await github.rest.actions.getActionsCacheList({
22-
owner: context.repo.owner,
23-
repo: context.repo.repo,
24-
})
25-
for (const cache of caches.data.actions_caches) {
26-
console.log(cache)
27-
github.rest.actions.deleteActionsCacheById({
28-
owner: context.repo.owner,
29-
repo: context.repo.repo,
30-
cache_id: cache.id,
31-
})
32-
}
33-
console.log("Clear completed")
34-
3516
- name: TC AI PR Reviewer
36-
uses: topcoder-platform/tc-ai-pr-reviewer@master
17+
uses: topcoder-platform/tc-ai-pr-reviewer
3718
with:
3819
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
3920
LAB45_API_KEY: ${{ secrets.LAB45_API_KEY }}

0 commit comments

Comments
 (0)