diff --git a/.github/workflows/blackduck.yaml b/.github/workflows/blackduck.yaml index b016b5ac2..fff2b0045 100644 --- a/.github/workflows/blackduck.yaml +++ b/.github/workflows/blackduck.yaml @@ -19,21 +19,4 @@ jobs: - name: "Scan With Black Duck" uses: ./.github/actions/scan-with-blackduck with: - token: ${{ secrets.BLACKDUCK_TOKEN }} - - notify-job: - runs-on: ubuntu-latest - permissions: - contents: read - needs: [ scan ] - if: ${{ failure() && github.ref == 'refs/heads/main' }} - steps: - - name: Checkout - uses: actions/checkout@v7 - - name: Notify - run: python .pipeline/scripts/notify.py - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - WORKFLOW: ${{ github.workflow }} - WORKFLOW_RUN_URL: https://github.com/SAP/cloud-sdk-java/actions/runs/${{ github.run_id }} - BRANCH_NAME: ${{ github.ref_name }} \ No newline at end of file + token: ${{ secrets.BLACKDUCK_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/deploy-snapshot.yaml b/.github/workflows/deploy-snapshot.yaml index ca7353c7b..844d8cdc6 100644 --- a/.github/workflows/deploy-snapshot.yaml +++ b/.github/workflows/deploy-snapshot.yaml @@ -38,17 +38,3 @@ jobs: env: DEPLOYMENT_USER: ${{ secrets.ARTIFACTORY_COMMON_USER }} DEPLOYMENT_PASS: ${{ secrets.ARTIFACTORY_COMMON_PASSWORD }} - - - name: 'Slack Notification' - if: failure() - uses: slackapi/slack-github-action@v4.0.0 - with: - webhook: ${{ secrets.SLACK_WEBHOOK }} - webhook-type: incoming-webhook - payload: | - blocks: - - type: "section" - text: - type: "mrkdwn" - text: "⚠️ Deploy Snapshot to SAP Common Artifactory failed! 😬 Please inspect & fix by clicking . Authentication problems can be fixed by updating the `ARTIFACTORY_COMMON_PASSWORD`: Go to , login with user `asa1_fin_cloud_oper`, Edit Profile and Generate an Identity Token. " -