From 3a0b4aa3f8a34384c80f9dcfb4bc6fbabf971015 Mon Sep 17 00:00:00 2001 From: Larry Liu Date: Thu, 5 Dec 2024 23:42:05 -0800 Subject: [PATCH] s --- .github/workflows/update-proto-dependency.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/update-proto-dependency.yaml b/.github/workflows/update-proto-dependency.yaml index fe9deed..9d5a50a 100644 --- a/.github/workflows/update-proto-dependency.yaml +++ b/.github/workflows/update-proto-dependency.yaml @@ -45,6 +45,16 @@ jobs: git add Cargo.toml git commit -m "Update aptos-protos to ${{ github.event.client_payload.commit_hash }}" git push origin "$branch_name" --force + env: GITHUB_TOKEN: ${{ secrets.CI_TOKEN }} working-directory: aptos-indexer-processors-sdk/ + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "Update aptos-protos to ${{ github.event.client_payload.commit_hash }}" + branch: ${{ github.event.client_payload.branch_name }}-update-aptos-protos + title: "Update aptos-protos to ${{ github.event.client_payload.commit_hash }}" + body: "This PR updates aptos-protos to commit ${{ github.event.client_payload.commit_hash }}." + base: main