Skip to content

Commit

Permalink
fix: verify correct permission names based on OpenAPI schema (#142)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: several permissions have been renamed to match GitHub's OpenAPI spec. It's really just a fix, but in order to avoid friction we decided to release a breaking change for this one.
  • Loading branch information
octokitbot authored Nov 1, 2023
1 parent 17bb45f commit a91488b
Show file tree
Hide file tree
Showing 6 changed files with 23,123 additions and 6,074 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
schedule:
- cron: 0 9 * * *
workflow_dispatch: {}
repository_dispatch:
types:
- octokit/openapi release
name: Update
jobs:
update:
Expand All @@ -13,6 +16,10 @@ jobs:
cache: npm
node-version: 16
- 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
Expand Down
Loading

0 comments on commit a91488b

Please sign in to comment.