Skip to content

Commit

Permalink
build(update.yml): set node-version to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Sep 17, 2021
1 parent 25ccfd8 commit 87c7b41
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Update
on:
"on":
repository_dispatch:
# https://github.com/apps/octokit-release-notifier
types: [octokit/webhooks release]

types:
- octokit/webhooks release
jobs:
update:
runs-on: ubuntu-latest
Expand All @@ -12,6 +11,7 @@ jobs:
- uses: actions/setup-node@v2
with:
cache: npm
node-version: 16
- run: npm ci
- uses: gr2m/await-npm-package-version-action@v1
with:
Expand All @@ -27,11 +27,22 @@ jobs:
- name: create pull request
uses: gr2m/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.OCTOKITBOT_PAT }}"
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
title: "\U0001F6A7 \U0001F916\U0001F4EF Webhooks changed"
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"
branch: "update-octokit-webhooks"
title: 🚧 🤖📯 Webhooks changed
body: >
A new release of
[@octokit/webhooks-definitions](https://github.com/octokit/webhooks)
was just released 👋🤖
This 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).
branch: update-octokit-webhooks
author: Octokit Bot <[email protected]>
commit-message: "WIP: Webhooks changed - please review"
labels: "maintenance"
labels: maintenance

0 comments on commit 87c7b41

Please sign in to comment.