diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e784a90..7066e3ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -144,6 +144,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ steps.app-token.outputs.token }} - name: Get current chart version id: current @@ -179,9 +180,8 @@ jobs: env: GH_TOKEN: ${{ steps.app-token.outputs.token }} run: | - git config user.name "thepagent" - git config user.email "thepagent@users.noreply.github.com" - git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }} + git config user.name "openclaw-helm-bot[bot]" + git config user.email "3185992+openclaw-helm-bot[bot]@users.noreply.github.com" git add charts/agent-broker/Chart.yaml charts/agent-broker/values.yaml git commit -m "chore: release chart ${{ steps.bump.outputs.new_version }}" git push @@ -191,3 +191,4 @@ jobs: GH_TOKEN: ${{ steps.app-token.outputs.token }} run: | gh workflow run release.yml --repo ${{ github.repository }} +