-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
979e285
commit 59e7416
Showing
7 changed files
with
2,687 additions
and
2,635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,17 +41,28 @@ jobs: | |
run: git diff --exit-code | ||
update-sdk: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
id-token: write | ||
if: | # Only run on each PR once an appropriate event occurs | ||
( | ||
github.event_name == 'push' || | ||
contains(github.event.pull_request.labels.*.name, 'indexer-sdk-update') | ||
) | ||
steps: | ||
- name: Google Cloud Auth | ||
id: auth | ||
uses: "google-github-actions/auth@v2" | ||
with: | ||
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} | ||
- name: Get Secret Manager Secrets | ||
id: secrets | ||
uses: 'google-github-actions/get-secretmanager-secrets@v2' | ||
with: | ||
secrets: |- | ||
token:aptos-ci/github-actions-repository-dispatch | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ steps.secrets.outputs.token }} | ||
|
||
# Install buf, which we use to generate code from the protos for Rust and TS. | ||
- name: Install buf | ||
|
@@ -71,19 +82,6 @@ jobs: | |
echo "::set-output name=commit_hash::$(echo $GITHUB_SHA)" | ||
# Echo the PR branch name to the output | ||
echo "::set-output name=branch_name::${{ github.head_ref }}" | ||
- name: Google Cloud Auth | ||
id: auth | ||
uses: "google-github-actions/auth@v2" | ||
with: | ||
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }} | ||
- name: Get Secret Manager Secrets | ||
id: secrets | ||
uses: 'google-github-actions/get-secretmanager-secrets@v2' | ||
with: | ||
secrets: |- | ||
token:aptos-ci/github-actions-repository-dispatch | ||
- name: Dispatch Event to SDK Repo | ||
uses: peter-evans/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
336 changes: 168 additions & 168 deletions
336
protos/python/aptos_protos/aptos/transaction/v1/transaction_pb2.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters