Skip to content

Commit

Permalink
Extract email from vercel-release-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Sep 16, 2024
1 parent 7c6b1a6 commit 7429510
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/update_react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,9 @@ jobs:
git config user.name "vercel-release-bot"
git config user.email "[email protected]"
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_LTS_VERSION }}
check-latest: true

- run: corepack enable

- name: Install dependencies
shell: bash
# Just need scripts/ but those dependencies are listed in the workspace root.
run: pnpm install --filter .

- name: Create Pull Request
shell: bash
run: pnpm sync-react --actor "${{ github.actor }}" --commit --create-pull --version "${{ inputs.version }}"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
- name: Get email
run: |
gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/user/emails

0 comments on commit 7429510

Please sign in to comment.