diff --git a/.cruft.json b/.cruft.json index d01c59820..85447882f 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/sunpy/package-template", - "commit": "164646d882aa2e972d305c54778aaaf35f707464", + "commit": "dff54d35c2c49201a3be8a3889458894e86bcc06", "checkout": null, "context": { "cookiecutter": { @@ -32,7 +32,7 @@ ".github/workflows/sub_package_update.yml" ], "_template": "https://github.com/sunpy/package-template", - "_commit": "164646d882aa2e972d305c54778aaaf35f707464" + "_commit": "dff54d35c2c49201a3be8a3889458894e86bcc06" } }, "directory": null diff --git a/.github/workflows/sub_package_update.yml b/.github/workflows/sub_package_update.yml index bd1a3b0dd..97b363757 100644 --- a/.github/workflows/sub_package_update.yml +++ b/.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: "." @@ -146,15 +146,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,