Skip to content

Commit

Permalink
no moer setup-git
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Feb 12, 2024
1 parent 2e3833e commit 160ee64
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/test-gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,17 @@ jobs:
runs-on: ubuntu-latest
environment: Production
env:
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} # for GitHub CLI

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
token: ${{ secrets.RELEASE_GITHUB_TOKEN }} # for git-subrepo pull/push later on
fetch-depth: 0 # fetches ALL history. needed for git-subrepo operations
fetch-tags: false # but don't need all tags

- name: Setup Git Credentials
run: |
gh auth setup-git && \
git config --global user.name "Adam Shaw" && \
git config --global user.email "[email protected]"
- name: Setup PNPM
uses: pnpm/[email protected]
with:
Expand All @@ -54,8 +48,6 @@ jobs:
- name: Sync Repos
run: |
gh auth setup-git && \
gh auth status && \
git config --global user.name "Adam Shaw" && \
git config --global user.email "[email protected]" && \
git config -l && \
Expand Down

0 comments on commit 160ee64

Please sign in to comment.