|
|
|
@ -113,20 +113,16 @@ jobs: |
|
|
|
artifact-path: org/springframework/security/spring-security-core |
|
|
|
artifact-path: org/springframework/security/spring-security-core |
|
|
|
slack-announcing-id: spring-security-announcing |
|
|
|
slack-announcing-id: spring-security-announcing |
|
|
|
secrets: inherit |
|
|
|
secrets: inherit |
|
|
|
notify_result: |
|
|
|
send-notification: |
|
|
|
name: Check for failures |
|
|
|
name: Send Notification |
|
|
|
needs: [ perform-release ] |
|
|
|
needs: [ perform-release ] |
|
|
|
if: failure() |
|
|
|
if: failure() |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
permissions: |
|
|
|
|
|
|
|
actions: read |
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Send Slack message |
|
|
|
- name: Send Notification |
|
|
|
# Workaround while waiting for Gamesight/slack-workflow-status#38 to be fixed |
|
|
|
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@v1 |
|
|
|
# See https://github.com/Gamesight/slack-workflow-status/issues/38 |
|
|
|
|
|
|
|
uses: sjohnr/slack-workflow-status@v1-beta |
|
|
|
|
|
|
|
with: |
|
|
|
with: |
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }} |
|
|
|
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} |
|
|
|
status: ${{ job.status }} |
|
|
|
channel: '#spring-security-ci' |
|
|
|
build-scan-url: ${{ steps.build-and-publish.outputs.build-scan-url }} |
|
|
|
name: 'CI Notifier' |
|
|
|
run-name: ${{ format('spring-security/{0}', github.ref_name) }} |
|
|
|
|