From 3f6f7b8273b10c6934cd72c09e34959dabd6c586 Mon Sep 17 00:00:00 2001 From: Yuun Lim <38443641+yuunlimm@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:47:09 -0700 Subject: [PATCH] update indexer processor test trigger workflow to only tirgger when json files are modified (#14908) --- .github/workflows/indexer-processor-testing.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/indexer-processor-testing.yaml b/.github/workflows/indexer-processor-testing.yaml index 942076e1270d8..091ef7982b017 100644 --- a/.github/workflows/indexer-processor-testing.yaml +++ b/.github/workflows/indexer-processor-testing.yaml @@ -6,6 +6,8 @@ on: pull_request: # Trigger on PR-level events branches: - main + paths: + - 'ecosystem/indexer-grpc/indexer-test-transactions/**' # Only trigger if files under this path change # the required permissions to request the ID token permissions: @@ -14,7 +16,7 @@ permissions: jobs: dispatch_event: - runs-on: runs-on,cpu=64,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} + runs-on: runs-on,cpu=16,family=c7,hdd=500,image=aptos-ubuntu-x64,run-id=${{ github.run_id }} steps: - name: Checkout the repository