Skip to content

Commit 3393fee

Browse files
committed
Fix missing Get App Token step in release workflow
Missed in previous upstream merge.
1 parent 55ed98f commit 3393fee

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ jobs:
7575
npm ci
7676
bundle install
7777
78+
# Use the primer GitHub App for authentication.
79+
# See: https://github.com/organizations/primer/settings/apps/primer
80+
- name: Get App Token
81+
uses: actions/create-github-app-token@v2
82+
id: get-access-token
83+
with:
84+
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
85+
owner: opf
86+
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
87+
7888
- name: Create release pull request or publish to npm
7989
id: changesets
8090
uses: changesets/action@v1.4.10
@@ -99,4 +109,4 @@ jobs:
99109
if: ${{ github.repository == 'opf/primer_view_components' && github.ref_name == 'changeset-release/main' && github.event_name == 'push' }}
100110
uses: ./.github/workflows/release_candidate.yml
101111
secrets:
102-
gh_token: ${{ secrets.GITHUB_TOKEN }}
112+
gh_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)