Skip to content

Commit

Permalink
[MOSIP-29164] Updated workflows as per reusable templates (#493)
Browse files Browse the repository at this point in the history
To fix sonar job failures
[MOSIP-25631]

Co-authored-by: syed-salman-technoforte <[email protected]>
  • Loading branch information
syedsalman3753 and syed-salman-technoforte authored Sep 22, 2023
1 parent cc01d0f commit d8ece77
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
uses: mosip/kattu/.github/workflows/npm-sonar-analysis.yml@master
with:
SERVICE_LOCATION: ./resident-ui
SONAR_URL: 'https://sonarcloud.io'
PROJECT_KEY: "mosip_${{ github.event.repository.name }}"
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_KEY: ${{ secrets.ORG_KEY }}
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/release-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release/pre-release Preparation.

on:
workflow_dispatch:
inputs:
MESSAGE:
description: 'Triggered for release or pe-release'
required: false
default: 'Release Preparation'
RELEASE_TAG:
description: 'tag to update'
required: true
SNAPSHOT_TAG:
description: 'tag to be replaced'
required: true
BASE:
description: 'base branch for PR'
required: true
jobs:
maven-release-preparation:
uses: mosip/kattu/.github/workflows/release-changes.yml@master
with:
MESSAGE: ${{ inputs.MESSAGE }}
RELEASE_TAG: ${{ inputs.RELEASE_TAG }}
SNAPSHOT_TAG: ${{ inputs.SNAPSHOT_TAG }}
BASE: ${{ inputs.BASE }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit d8ece77

Please sign in to comment.