diff --git a/.github/workflows/README.md b/.github/workflows/README.md index fbd16a706f..e33f399955 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -39,8 +39,7 @@ flowchart TD sonarqube --> deploy_prod(Build Production APK) subgraph Production Environment - deploy_prod --> run_app_sweep(Perform App Sweep) - run_app_sweep --> google_play_internal(Upload to Internal Track) + deploy_prod --> google_play_internal(Upload to Internal Track) google_play_internal --> google_play_alpha([Promote to Alpha Track]) google_play_alpha --> add_release_tag(Add Release Tag) google_play_alpha --> google_play_prod_25([Promote 25% to Production]) diff --git a/.github/workflows/pipeline-deploy-to-internal.yml b/.github/workflows/pipeline-deploy-to-internal.yml index 5179e6dc4c..61abcd8c1c 100644 --- a/.github/workflows/pipeline-deploy-to-internal.yml +++ b/.github/workflows/pipeline-deploy-to-internal.yml @@ -18,15 +18,6 @@ jobs: build-environment: Internal version-name: ${{ needs.get-version.outputs.version-name }} - run-app-sweep: - uses: ./.github/workflows/reusable-app-sweep.yml - with: - upload-artifact: ${{ needs.build-internal-aab.outputs.build-artifact }} - mapping-file: ${{ needs.build-internal-aab.outputs.optional-mapping-file }} - secrets: inherit - needs: - - build-internal-aab - deploy-internal-build: uses: ./.github/workflows/reusable-promote-artifact.yml secrets: inherit diff --git a/.github/workflows/reusable-app-sweep.yml b/.github/workflows/reusable-app-sweep.yml deleted file mode 100644 index 1181d7c507..0000000000 --- a/.github/workflows/reusable-app-sweep.yml +++ /dev/null @@ -1,38 +0,0 @@ -# Upload release apk to App Sweep -name: "[Reusable] App Sweep Security Scan" - -on: - workflow_call: - inputs: - upload-artifact: - type: string - required: true - mapping-file: - type: string - required: true - -jobs: - app-sweep: - name: App Sweep Security Scan - runs-on: ubuntu-latest - timeout-minutes: ${{ fromJSON(vars.JOB_TIMEOUT_MINUTES) }} - environment: Internal - - steps: - - name: Download AAB artifact - uses: actions/download-artifact@v4 - with: - name: ${{ inputs.upload-artifact }} - - - name: Download mapping file - uses: actions/download-artifact@v4 - with: - name: ${{ inputs.mapping-file }} - - - name: Upload release apk - uses: guardsquare/appsweep-action@main - with: - appsweep_api_key: ${{ secrets.APPSWEEP_API_KEY }} - input_file: ${{ inputs.upload-artifact }} - mapping_file: ${{ inputs.mapping-file }} - commit_hash: ${{ github.sha }}