From 5cad8258843b2afaadde7f6e1d99aeb9ecdea12c Mon Sep 17 00:00:00 2001 From: hadar-co Date: Sat, 15 Jun 2024 19:46:27 +0300 Subject: [PATCH] Update testApi.yaml --- .github/workflows/testApi.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testApi.yaml b/.github/workflows/testApi.yaml index 50b0dff..0b672c0 100644 --- a/.github/workflows/testApi.yaml +++ b/.github/workflows/testApi.yaml @@ -1,7 +1,9 @@ on: push: + branches: + - main paths: - - 'testchart/templates/**' + - 'apps/port-api/src/api/routes/**' jobs: slackNotification: @@ -14,7 +16,7 @@ jobs: env: SLACK_COLOR: ${{ job.status }} SLACK_ICON: https://avatars.githubusercontent.com/u/97434394?s=200&v=4 - SLACK_MESSAGE: "User: ${{ github.actor }} made a change to the API schema. PR: https://github.com/hadar-co/dtgatest/pull/${{ github.event.number }}" + SLACK_MESSAGE: "User: ${{ github.actor }} made a change to the API schema." SLACK_TITLE: "API change" SLACK_USERNAME: Deployment Bot SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}