Skip to content

A fast, helpful, and open-source document parser

fix: post-experimentation fixes

Clelia (Astra) Bertellife8380141b71
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 774deeb..5bf71d3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,6 +15,7 @@ jobs:
contents: write
pull-requests: write
id-token: write
+ actions: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/scripts/publish-to-homebrew-repo.sh b/scripts/publish-to-homebrew-repo.sh
index b7ea34b..da90cdf 100755
--- a/scripts/publish-to-homebrew-repo.sh
+++ b/scripts/publish-to-homebrew-repo.sh
@@ -3,11 +3,14 @@
echo "Installing homebrew-npm-noob tool"
uv tool install --upgrade homebrew-npm-noob
echo "Setting up repository locally"
-git clone https://github.com/run-llama/homebrew-liteparse
+git clone https://x-access-token:${GITHUB_TOKEN}@github.com/run-llama/homebrew-liteparse
cd homebrew-liteparse
mkdir -p Formula/
echo "Generating HomeBrew Formula"
noob @llamaindex/liteparse > Formula/llamaindex-liteparse.rb
+echo "Configuring GitHub user"
+git config user.email "github-actions[bot]@users.noreply.github.com"
+git config user.name "github-actions[bot]"
echo "Pushing to GitHub"
git add .
git commit -m "Automated HomeBrew Release for liteparse"