Skip to content

Commit

Permalink
[MOSIP-25637] Updated postgres-init_trigger.yml workflow (mosip#846)
Browse files Browse the repository at this point in the history
Signed-off-by: GOKULRAJ136 <[email protected]>
  • Loading branch information
Mohanraj209 authored and GOKULRAJ136 committed Mar 14, 2024
1 parent 854fc48 commit ce60af2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/postgres-init_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- 'db_release_scripts/**'
db_scripts:
- 'db_scripts/**'
# run only if 'db_release_scripts' files were changed
db_release_scripts_updates:
needs: paths-filter
Expand All @@ -42,7 +42,7 @@ jobs:
status: ${{ job.status }}
fields: repo,message,commit,author,job,took,ref # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_DEVOPS }} # required
if: success() # Pick up events when the job is successful.

# run only if not 'db_release_scripts' files were changed
Expand All @@ -63,7 +63,7 @@ jobs:
status: ${{ job.status }}
fields: repo,message,commit,author,job,took,ref # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_DEVOPS }} # required
if: success() # Pick up events when the job is successful.

# run only if not 'db_scripts' files were changed
Expand All @@ -77,7 +77,7 @@ jobs:
steps:
- uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.ACTION_PAT }}
repository: mosip/postgres-init
base: ${{ github.ref }}
event-type: db-event

0 comments on commit ce60af2

Please sign in to comment.