Skip to content

Commit 87c7b41

Browse files
committed
build(update.yml): set node-version to 16
1 parent 25ccfd8 commit 87c7b41

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

.github/workflows/update.yml

+20-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Update
2-
on:
2+
"on":
33
repository_dispatch:
4-
# https://github.com/apps/octokit-release-notifier
5-
types: [octokit/webhooks release]
6-
4+
types:
5+
- octokit/webhooks release
76
jobs:
87
update:
98
runs-on: ubuntu-latest
@@ -12,6 +11,7 @@ jobs:
1211
- uses: actions/setup-node@v2
1312
with:
1413
cache: npm
14+
node-version: 16
1515
- run: npm ci
1616
- uses: gr2m/await-npm-package-version-action@v1
1717
with:
@@ -27,11 +27,22 @@ jobs:
2727
- name: create pull request
2828
uses: gr2m/[email protected]
2929
env:
30-
GITHUB_TOKEN: "${{ secrets.OCTOKITBOT_PAT }}"
30+
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
3131
with:
32-
title: "\U0001F6A7 \U0001F916\U0001F4EF Webhooks changed"
33-
body: "A new release of [@octokit/webhooks-definitions](https://github.com/octokit/webhooks) was just released \U0001F44B\U0001F916\n\nThis pull request updates the TypeScript definitions derived from `@octokit/webhooks-definitions`. I can't tell if the changes are fixes, features or breaking, you'll have to figure that out on yourself and adapt the commit messages accordingly to trigger the right release, see [our commit message conventions](https://github.com/octokit/openapi/blob/main/CONTRIBUTING.md#merging-the-pull-request--releasing-a-new-version).\n"
34-
branch: "update-octokit-webhooks"
32+
title: 🚧 🤖📯 Webhooks changed
33+
body: >
34+
A new release of
35+
[@octokit/webhooks-definitions](https://github.com/octokit/webhooks)
36+
was just released 👋🤖
37+
38+
39+
This pull request updates the TypeScript definitions derived from
40+
`@octokit/webhooks-definitions`. I can't tell if the changes are
41+
fixes, features or breaking, you'll have to figure that out on
42+
yourself and adapt the commit messages accordingly to trigger the
43+
right release, see [our commit message
44+
conventions](https://github.com/octokit/openapi/blob/main/CONTRIBUTING.md#merging-the-pull-request--releasing-a-new-version).
45+
branch: update-octokit-webhooks
3546
author: Octokit Bot <[email protected]>
3647
commit-message: "WIP: Webhooks changed - please review"
37-
labels: "maintenance"
48+
labels: maintenance

0 commit comments

Comments
 (0)