Skip to content

Commit 91f82fc

Browse files
committed
Attempt simpler changeset setup with provided GITHUB_TOKEN
1 parent 70e3556 commit 91f82fc

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,25 +73,12 @@ jobs:
7373
- name: Build
7474
run: yarn build
7575

76-
- name: Use GitHub App Token
77-
uses: actions/create-github-app-token@v1
78-
id: app-token
79-
with:
80-
app-id: ${{ secrets.GU_CHANGESETS_APP_ID }}
81-
private-key: ${{ secrets.GU_CHANGESETS_PRIVATE_KEY }}
82-
83-
- name: Set git user to Gu Changesets app
84-
run: |
85-
git config user.name "gu-changesets-release-pr[bot]"
86-
git config user.email "gu-changesets-release-pr[bot]@users.noreply.github.com"
87-
8876
- name: Create Release Pull Request or Publish to npm
8977
id: changesets
9078
uses: changesets/action@v1
9179
with:
9280
publish: yarn changeset publish
9381
title: "🦋 Release package updates"
9482
commit: "Bump package versions"
95-
setupGitUser: false
9683
env:
97-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)