Skip to content

Commit ed29f37

Browse files
authored
feat: improved request confirmation prompt (#30)
1 parent 45b127a commit ed29f37

6 files changed

+3925
-2361
lines changed

.github/update-endpoints.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Update Prettier
2+
on:
3+
repository_dispatch:
4+
types: [octokit/openapi]
5+
workflow_dispatch: {}
6+
jobs:
7+
update_prettier:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
version: 12
14+
- uses: actions/cache@v2
15+
with:
16+
path: ~/.npm
17+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18+
restore-keys: |
19+
${{ runner.os }}-node-
20+
- run: npm ci
21+
- run: npm install @octokit/openapi@latest
22+
- run: node scripts/generate-endpoints.js
23+
- uses: gr2m/[email protected]
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
title: "Enpoints updated"
28+
body: "An update to `@octokit/openapi` resulted in an update to `lib/generated/endpoints.js`"
29+
branch: ${{ github.ref }}
30+
commit-message: "build: endpoints updated"

0 commit comments

Comments
 (0)