Skip to content

Commit e451346

Browse files
authored
Update respec.yaml
1 parent 658f3b2 commit e451346

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/respec.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: respec
1+
name: respec-w-app
22

33
# author: @MikeRalphson
44
# issue: https://github.com/OAI/OpenAPI-Specification/issues/1564
@@ -22,6 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25+
- name: Generate a token
26+
id: generate-token
27+
uses: actions/create-github-app-token@v1
28+
with:
29+
app-id: ${{ vars.APP_ID }}
30+
private-key: ${{ secrets.APP_PK }}
31+
2532
- uses: actions/checkout@v4 # checkout main branch
2633
with:
2734
fetch-depth: 0
@@ -35,8 +42,8 @@ jobs:
3542

3643
- uses: actions/checkout@v4 # checkout gh-pages branch
3744
with:
38-
token: ${{ secrets.OAS_REPO_TOKEN }}
39-
repository: OAI/OpenAPI-Specification # TODO: change to OAI/...
45+
token: ${{ steps.generate-token.outputs.token }}
46+
repository: ralfhandl/OpenAPI-Specification
4047
ref: gh-pages
4148
path: deploy
4249

@@ -54,7 +61,7 @@ jobs:
5461
delete-branch: true
5562
path: deploy
5663
labels: Housekeeping
57-
team-reviewers: OAI/tsc
64+
reviewers: ralfhandl
5865
title: Update ReSpec-rendered specification versions for Overlay
5966
commit-message: Update ReSpec-rendered specification versions
6067
signoff: true

0 commit comments

Comments
 (0)