Create an action for determine the complexity

This commit is contained in:
mauriziovitale
2024-07-19 12:36:59 +02:00
parent ace533ce19
commit 275ba3371e

View File

@@ -18,7 +18,7 @@
async function getPRDetails(github, core, owner, repo, pull_number) {
core.info(`Fetching PR details`);
const { data: files } = await github.pulls.listFiles({
const { data: files } = await github.rest.pulls.listFiles({
owner,
repo,
pull_number