From 9b20406581e9b587a58d78abb191d1406f6ce713 Mon Sep 17 00:00:00 2001 From: jaydeepsingh25 Date: Sat, 28 Jun 2025 16:53:33 -0700 Subject: [PATCH] fix: trigger tat-service workflow --- .github/workflows/tat.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tat.yml b/.github/workflows/tat.yml index 7567f140a..e9dcc14fe 100644 --- a/.github/workflows/tat.yml +++ b/.github/workflows/tat.yml @@ -4,9 +4,9 @@ on: branches: [ main ] tags: [ "tat-[0-9]+.[0-9]+.[0-9]+" ] paths: [ "**" ] - pull_request: - branches: [ main ] - paths: [ "**" ] + # pull_request: + # branches: [ main ] + # paths: [ "**" ] workflow_dispatch: env: REGISTRY: ghcr.io @@ -62,4 +62,19 @@ jobs: file: ./Dockerfile push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + + trigger-tat-service: + needs: build-and-push-image + runs-on: ubuntu-latest + steps: + - name: Trigger TAT Service Workflow + uses: octokit/request-action@v2.x + with: + route: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches + owner: Shared-Reality-Lab + repo: IMAGE-server + workflow_id: tat-service.yml + ref: main + env: + GITHUB_TOKEN: ${{ secrets.WORKFLOW_SECRET }}