Skip to content

Commit 68dc464

Browse files
SunPyBotCadair
andauthored
Update cruft with batchpr (#914)
Co-authored-by: Stuart Mumford <stuart@cadair.com>
1 parent 1a34bc0 commit 68dc464

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/sunpy/package-template",
3-
"commit": "164646d882aa2e972d305c54778aaaf35f707464",
3+
"commit": "dff54d35c2c49201a3be8a3889458894e86bcc06",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -32,7 +32,7 @@
3232
".github/workflows/sub_package_update.yml"
3333
],
3434
"_template": "https://github.com/sunpy/package-template",
35-
"_commit": "164646d882aa2e972d305c54778aaaf35f707464"
35+
"_commit": "dff54d35c2c49201a3be8a3889458894e86bcc06"
3636
}
3737
},
3838
"directory": null

.github/workflows/sub_package_update.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
- name: Create pull request
7979
if: steps.cruft_json.outputs.has_changes == '1'
80-
uses: peter-evans/create-pull-request@v7
80+
uses: peter-evans/create-pull-request@v8
8181
with:
8282
token: ${{ secrets.GITHUB_TOKEN }}
8383
add-paths: "."
@@ -146,15 +146,15 @@ jobs:
146146
// If no issue is open, create a new issue,
147147
// else update the body of the existing issue.
148148
if (result.search.edges.length === 0) {
149-
github.rest.issues.create({
149+
await github.rest.issues.create({
150150
owner: variables.owner,
151-
repo: variables.n ame,
151+
repo: variables.name,
152152
body: issue_body,
153153
title: variables.title,
154154
labels: [variables.label],
155155
});
156156
} else {
157-
github.rest.issues.update({
157+
await github.rest.issues.update({
158158
owner: variables.owner,
159159
repo: variables.name,
160160
issue_number: result.search.edges[0].node.number,

0 commit comments

Comments
 (0)