-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(update.yml): set node-version to 16
- Loading branch information
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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: | ||
|
@@ -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 |