From 404fcda017b446ad8a5f2bb3b0038adb1e54fd8e Mon Sep 17 00:00:00 2001 From: Nabil Freij Date: Thu, 8 Jan 2026 14:20:16 -0800 Subject: [PATCH] AI changes --- .../.github/workflows/sub_package_update.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml b/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml index 171ce90..bc25572 100644 --- a/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml +++ b/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml @@ -77,7 +77,7 @@ jobs: - name: Create pull request if: steps.cruft_json.outputs.has_changes == '1' - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: token: ${{ secrets.GITHUB_TOKEN }} add-paths: "." @@ -145,15 +145,15 @@ jobs: // If no issue is open, create a new issue, // else update the body of the existing issue. if (result.search.edges.length === 0) { - github.rest.issues.create({ + await github.rest.issues.create({ owner: variables.owner, - repo: variables.n ame, + repo: variables.name, body: issue_body, title: variables.title, labels: [variables.label], }); } else { - github.rest.issues.update({ + await github.rest.issues.update({ owner: variables.owner, repo: variables.name, issue_number: result.search.edges[0].node.number,