Skip to content

Commit

Permalink
Update expo-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast authored May 30, 2024
1 parent aa4bb90 commit 0cdfcaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/expo-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
env:
TAG: ${{ github.event.release.tag_name }}
BRANCH_NAME: update-whisperkit-${{ github.event.release.tag_name }}
GH_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
steps:
- name: Checkout whisper-kit-expo
uses: actions/checkout@v4
Expand Down Expand Up @@ -66,12 +67,12 @@ jobs:
echo "GitHub CLI is not installed, installing..."
sudo apt update
sudo apt install -y gh
echo ${{ secrets.COMMITTER_TOKEN }} | gh auth login --with-token
else
echo "GitHub CLI is already installed"
fi
- name: PR with changes
run: |
echo ${{ secrets.COMMITTER_TOKEN }} | gh auth login --with-token
gh pr create --title "Update WhisperKit to $TAG" --body "Update WhisperKit to $TAG" --base main --head $BRANCH_NAME

0 comments on commit 0cdfcaa

Please sign in to comment.