Bump slackapi/slack-github-action from v3.0.2 to v3.0.3 in /.github/workflows (#24396)
This commit is contained in:
parent
f515c95b72
commit
540eaaa2a8
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -486,7 +486,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check for failure and notify
|
||||
if: (needs.Benchmarks.result == 'failure' || needs.Tests.result == 'failure' || needs.SlowTests.result == 'failure' || needs.GPU.result == 'failure' || needs.RaspberryPi.result == 'failure' || needs.NVIDIA_Jetson.result == 'failure' || needs.Conda.result == 'failure' ) && github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event_name == 'push') && github.run_attempt == '1'
|
||||
uses: slackapi/slack-github-action@v3.0.2
|
||||
uses: slackapi/slack-github-action@v3.0.3
|
||||
with:
|
||||
webhook-type: incoming-webhook
|
||||
webhook: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }}
|
||||
|
||||
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -303,7 +303,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check for failure and notify
|
||||
if: needs.docker.result == 'failure' && github.repository == 'ultralytics/ultralytics' && github.event_name == 'push' && github.run_attempt == '1'
|
||||
uses: slackapi/slack-github-action@v3.0.2
|
||||
uses: slackapi/slack-github-action@v3.0.3
|
||||
with:
|
||||
webhook-type: incoming-webhook
|
||||
webhook: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }}
|
||||
|
||||
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -151,7 +151,7 @@ jobs:
|
||||
echo "PR_TITLE=${PR_TITLE}" >> "${GITHUB_ENV}"
|
||||
- name: Notify Success
|
||||
if: needs.publish.result == 'success' && github.event_name == 'push'
|
||||
uses: slackapi/slack-github-action@v3.0.2
|
||||
uses: slackapi/slack-github-action@v3.0.3
|
||||
with:
|
||||
webhook-type: incoming-webhook
|
||||
webhook: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }}
|
||||
@ -159,7 +159,7 @@ jobs:
|
||||
text: "<!channel> GitHub Actions success for ${{ github.workflow }} ✅\n\n\n*Repository:* https://github.com/${{ github.repository }}\n*Action:* https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Author:* ${{ github.actor }}\n*Event:* NEW `${{ github.repository }} ${{ needs.check.outputs.current_tag }}` pip package published 😃\n*Job Status:* ${{ job.status }}\n*Pull Request:* <https://github.com/${{ github.repository }}/pull/${{ env.PR_NUMBER }}> ${{ env.PR_TITLE }}\n"
|
||||
- name: Notify Failure
|
||||
if: needs.publish.result != 'success'
|
||||
uses: slackapi/slack-github-action@v3.0.2
|
||||
uses: slackapi/slack-github-action@v3.0.3
|
||||
with:
|
||||
webhook-type: incoming-webhook
|
||||
webhook: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user