Skip to content

Update

Update #34165

Workflow file for this run

"on":
schedule:
- cron: 0 */12 * * *
repository_dispatch:
types:
- github-webhooks-update
name: Update
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: git checkout webhooks-update || true
- run: npm ci
- name: update .com webhooks
run: npm run build:webhooks
- name: update GHE webhooks
run: npm run build:webhooks -- --ghe
- name: update GitHub.AE webhooks
run: npm run build:webhooks -- --githubAE
- uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
title: 🤖📯 Octokit webhooks changed
body: >
I found new changes on [GitHub’s Webhooks Event Types &
Payloads](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/webhook-events-and-payloads)
and want to let you know about it 👋🤖
I can't tell if the changes are fixes, features or breaking changes.
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/webhooks/blob/main/CONTRIBUTING.md#merging-the-pull-request--releasing-a-new-version).
If there are any new events added, follow the [steps
outlined](https://github.com/octokit/webhooks/blob/main/CONTRIBUTING.md#creating-a-new-schema)
in order to create the required schemas.
If there were only description updates, or new properties added,
simply modify the appropriate schemas and commit them to this PR.
Don't forget to generate the types as well.
branch: webhooks-update
author: Octokit Bot <[email protected]>
path: cache/
commit-message: "build: cache"
labels: "Type: Maintenance"
- name: update .com webhooks
uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
branch: webhooks-update
author: Octokit Bot <[email protected]>
path: payload-examples/api.github.com/
commit-message: "WIP: api.github.com webhooks update"
- name: update GHE webhooks
uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
branch: webhooks-update
author: Octokit Bot <[email protected]>
path: payload-examples/ghes*
commit-message: "WIP: GHE webhooks update"
- name: update GitHub.AE webhooks
uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
branch: webhooks-update
author: Octokit Bot <[email protected]>
path: payload-examples/github.ae/
commit-message: "WIP: GitHub.AE webhooks update"