|
78 | 78 | whitesource_project_name: ${{ github.event.repository.name }} |
79 | 79 | target_directory: "." |
80 | 80 |
|
81 | | - - name: Get Commit Message |
82 | | - id: get_commit_message |
83 | | - run: | |
84 | | - echo "commit_message=$(git log --oneline -1)" >> $GITHUB_OUTPUT |
85 | | -
|
86 | | - - name: Whitesource Alerts Report |
87 | | - uses: ./maas-build-actions/.github/actions/whitesource-alerts-checker |
88 | | - continue-on-error: true |
89 | | - with: |
90 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
91 | | - ws_api_key: ${{ secrets.WHITESOURCE_API_KEY }} |
92 | | - ws_project_token: ${{ secrets.WHITESOURCE_PROJECT_TOKEN }} |
93 | | - build_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" |
94 | | - branch: "${{ github.ref_name }}" |
95 | | - commit_message: "${{ steps.get_commit_message.outputs.commit_message }}" |
96 | | - ws_scan_duration: "${{ env.scan_duration }}" |
97 | | - ws_product_name: "maas_libraries" |
98 | | - ws_project_name: "${{ github.event.repository.name }}" |
99 | | - ws_repo_name: "${{ github.event.repository.name }}" |
100 | | - fail_if_policy_violations_found: "True" |
101 | | - s3_log_path: "s3://solace-cloud-ci-logs/${{ github.event.repository.name }}/${{ github.event.repository.name }}-whitesource-scan-${{ github.sha }}.txt" |
102 | | - |
103 | | - - name: Whitesource Failure Notification |
104 | | - if: failure() && steps.whitesource_scan.outcome == 'failure' |
105 | | - uses: ./maas-build-actions/.github/actions/build-finish-notifier |
106 | | - with: |
107 | | - workflow_title: "${{ github.event.repository.name }} - Whitesource Scan Failure" |
108 | | - run_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" |
109 | | - notify_channel: "#whitesource-scans-updates,#devsecops-security-event-incident" |
110 | | - auto_slack_channel: "False" |
111 | | - |
112 | | - - name: Build Notification |
113 | | - if: failure() |
114 | | - uses: ./maas-build-actions/.github/actions/build-finish-notifier |
115 | | - with: |
116 | | - workflow_title: "${{ github.event.repository.name }} ${{ github.workflow }}" |
117 | | - run_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" |
118 | | - |
119 | 81 | bump-version: |
120 | 82 | needs: chromatic-deployment |
121 | 83 | name: "Bump Version on main" |
|
0 commit comments