diff --git a/.github/workflows/internal-build.yml b/.github/workflows/internal-build.yml index 4faf3a7c39..9b4be3308f 100644 --- a/.github/workflows/internal-build.yml +++ b/.github/workflows/internal-build.yml @@ -7,11 +7,11 @@ on: beta-release: description: 'Beta release?' required: true - default: 'No' + default: "false" type: choice options: - - Yes - - No + - false + - true buildname: description: 'Build App For' required: true @@ -62,8 +62,9 @@ on: jobs: build-android: - uses: mosip/kattu/.github/workflows/android-publish.yml@master + uses: tw-mosip/kattu/.github/workflows/android-publish.yml@add-inji-workflows with: + BETA_RELEASE: ${{ inputs.beta-release }} NODE_VERSION: '16.x' RELEASE_KEYSTORE_ALIAS: androidreleasekey MIMOTO_HOST: ${{ inputs.mimotoBackendServiceUrl }} @@ -80,8 +81,8 @@ jobs: SLACK_URL: '${{ secrets.SLACK_WEBHOOK }}' build-android-beta: - if: ${{ inputs.beta-release == 'Yes' }} - uses: mosip/kattu/.github/workflows/android-publish.yml@master + if: ${{ inputs.beta-release == 'true' }} + uses: tw-mosip/kattu/.github/workflows/android-publish.yml@add-inji-workflows with: BETA_RELEASE: ${{ inputs.beta-release }} NODE_VERSION: '16.x' @@ -100,7 +101,7 @@ jobs: SLACK_URL: '${{ secrets.SLACK_WEBHOOK }}' build-ios: - uses: mosip/kattu/.github/workflows/ios-publish.yml@master + uses: tw-mosip/kattu/.github/workflows/ios-publish.yml@add-inji-workflows with: NODE_VERSION: '18.x' MIMOTO_HOST: ${{ inputs.mimotoBackendServiceUrl }} @@ -127,9 +128,9 @@ jobs: SLACK_URL: '${{ secrets.SLACK_WEBHOOK }}' sonar-check: - uses: mosip/kattu/.github/workflows/sonar.yml@master + uses: tw-mosip/kattu/.github/workflows/sonar.yml@add-inji-workflows secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: https://sonarcloud.io SONAR_ORGANIZATION: ${{ secrets.ORG_KEY }} - \ No newline at end of file + SLACK_URL: '${{ secrets.SLACK_WEBHOOK }}' \ No newline at end of file diff --git a/.github/workflows/push-triggers.yml b/.github/workflows/push-triggers.yml index d944cc13e3..42b8abdb82 100644 --- a/.github/workflows/push-triggers.yml +++ b/.github/workflows/push-triggers.yml @@ -1,38 +1,42 @@ name: Push-Triggers -.anchor-branches-tags: &branches-tags +.anchor-branches: &branches branches: - main - develop - qa-develop - "release-**" - tags: - - "*" on: push: - <<: *branches-tags + <<: *branches + release: + types: [published] pull_request: - types: [opened, synchronize] - <<: *branches-tags + types: [opened, reopened, synchronize] + paths: + - 'charts/**' + <<: *branches jobs: build-android: - uses: mosip/kattu/.github/workflows/android-build.yml@master + uses: tw-mosip/kattu/.github/workflows/android-build.yml@add-inji-workflows with: NODE_VERSION: "16.x" + secrets: DEBUG_KEYSTORE_ALIAS: androiddebugkey DEBUG_KEYSTORE_PASSWORD: "dummypassword" build-ios: - uses: mosip/kattu/.github/workflows/ios-build.yml@master + uses: tw-mosip/kattu/.github/workflows/ios-build.yml@add-inji-workflows with: NODE_VERSION: "16.x" sonar-check: if: ${{ github.event_name == 'push' }} - uses: mosip/kattu/.github/workflows/sonar.yml@master + uses: tw-mosip/kattu/.github/workflows/sonar.yml@add-inji-workflows secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: https://sonarcloud.io SONAR_ORGANIZATION: ${{ secrets.ORG_KEY }} + SLACK_URL: '${{ secrets.SLACK_WEBHOOK }}' diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index cfb9045071..753ee55fc9 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -25,7 +25,7 @@ on: jobs: tag-branch: - uses: mosip/kattu/.github/workflows/tag.yml@master + uses: tw-mosip/kattu/.github/workflows/tag.yml@add-inji-workflows with: TAG: ${{ inputs.TAG }} BODY: ${{ inputs.BODY }}