Update #2823
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 | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: 18 | |
- run: npm ci | |
- run: npm run download | |
# Temporary disabled generating diff files | |
# https://github.com/octokit/openapi/pull/394 | |
# - uses: actions/checkout@v4 | |
# with: | |
# repository: xuorig/anicca | |
# path: anicca | |
# - uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 | |
# with: | |
# toolchain: stable | |
# - run: cargo build | |
# working-directory: anicca | |
- run: npm run build | |
# - run: rm -rf anicca | |
- name: update cache | |
uses: gr2m/[email protected] | |
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 <[email protected]> | |
commit-message: "WIP: schema updates" | |
labels: "Type: Maintenance" |