Update #689
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 12 * * * | |
workflow_dispatch: {} | |
name: Update | |
env: | |
NODE_OPTIONS: --max-old-space-size=8192 | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
# These steps should be kept in sync with `update_dry_run.yml` - minus the code that | |
# actually commits, pushes and creates a PR. | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: lts/* | |
- run: npm ci | |
- run: npm run download | |
#- uses: actions/checkout@v3 # tag=v3 | |
# with: | |
# repository: xuorig/anicca | |
# path: anicca | |
#- uses: actions-rs/toolchain@v1 # tag=v1 | |
# with: | |
# toolchain: stable | |
#- run: cargo build | |
# working-directory: anicca | |
- run: npm run build | |
#- run: rm -rf anicca | |
- run: npm run generate-types | |
- name: update cache | |
uses: gr2m/create-or-update-pull-request-action@v1.x | |
env: | |
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }} | |
with: | |
title: 🤖📯 GitHub OpenAPI Update | |
body: > | |
I found new changes in [GitHub's official OpenAPI | |
specifications](https://github.com/github/rest-api-description) and | |
thought I'd let you know about it 👋🤖 | |
I can't tell if the changes include fixes, features, breaking | |
changes or just cache updates, 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 | |
author: Octokit Bot <octokitbot@martynus.net> | |
commit-message: "WIP: schema updates" | |
labels: "Type: Maintenance" |