Update #35600
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
"on": | |
schedule: | |
- cron: 0 * * * * | |
workflow_dispatch: {} | |
name: Update | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: npm | |
- run: git checkout schema-update || true | |
- run: npm ci | |
- run: npm run update | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: create pull request | |
uses: gr2m/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }} | |
with: | |
title: 🚧 🤖📯 GraphQL Schema changed | |
body: > | |
I found new changes in GitHub's GraphQL Schema 👋🤖 | |
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: schema-update | |
author: Octokit Bot <[email protected]> | |
path: schema.graphql | |
commit-message: "WIP: schema.graphql changed - please review" | |
labels: "Type: Maintenance" | |
- name: update schema.json | |
uses: gr2m/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }} | |
with: | |
branch: schema-update | |
author: Octokit Bot <[email protected]> | |
commit-message: "build: schema.json and schema.d.ts updated" |