Skip to content

Commit

Permalink
main.yml: Don't require git creds
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Jul 28, 2024
1 parent 28bfb09 commit 7a988e1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ on:
options:
- ROM_MANIFEST
- LOCAL_MANIFEST
GIT_USERNAME:
description: 'GIT_USERNAME'
required: true
GIT_EMAIL:
description: 'GIT_EMAIL'
required: true

jobs:
build:
Expand All @@ -49,8 +43,8 @@ jobs:
mkdir workspace
cd workspace
echo "workspace-folder=$(pwd)" >> $GITHUB_OUTPUT
git config --global user.name ${{ github.event.inputs.GIT_USERNAME }}
git config --global user.email ${{ github.event.inputs.GIT_EMAIL }}
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
if [ "${{ github.event.inputs.choice }}" == "ROM_MANIFEST" ]; then
repo init --depth=1 -u ${{ github.event.inputs.ROM_MANIFEST_URL }} -b ${{ github.event.inputs.ROM_MANIFEST_BRANCH }} --git-lfs
else
Expand Down

0 comments on commit 7a988e1

Please sign in to comment.