Skip to content

Update

Update #1397

Workflow file for this run

"on":
schedule:
- cron: 0 9 * * *
workflow_dispatch: {}
repository_dispatch:
types:
- octokit/openapi release
name: Update
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: "lts/*"
- run: npm ci
- run: >-
echo "OCTOKIT_OPENAPI_VERSION=${{
github.event.client_payload.release.tag_name }}" >> $GITHUB_ENV
if: github.event.client_payload.release.tag_name
- name: update
run: node scripts/update.mjs
- run: git status
- name: update cache
uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
title: 🤖📯 App permissions changed
body: >
I found new changes on
https://docs.github.com/en/rest/reference/permissions-required-for-github-apps/
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]>
path: cache
commit-message: "build: cache"
labels: "Type: Maintenance"
- name: update generated app permissions
uses: gr2m/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
with:
branch: update
author: Octokit Bot <[email protected]>
path: generated/
commit-message: "WIP: app permissions update"
labels: "Type: Maintenance"