Skip to content

Commit

Permalink
chore(ci): remove inputs in reusable workflow (#6464)
Browse files Browse the repository at this point in the history
Release-As: 2.15.3

Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
  • Loading branch information
Fral738 authored Dec 3, 2024
1 parent 989f6b2 commit b4486f6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/_notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: xxxxx(internal)

on:
workflow_call:
inputs:
taskSign:
description: "Text for task sign notification"
required: false
type: string
secrets:
webhook:
description: "Loop webhook URL"
Expand Down Expand Up @@ -63,8 +58,7 @@ jobs:
MATTERMOST_CHANNEL: ${{ secrets.notificationChannel }}
TEXT: |
Workflow успешно завершился :bender:
[${{ github.workflow }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) ${{ github.ref_name }} :success:
${{ inputs.taskSign }}
[${{ github.workflow }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) ${{ github.ref_name }} :success:
- if: (env.WORKFLOW_CONCLUSION == 'failure' && startsWith(github.ref, 'refs/pull/'))
name: Failure notify for PRs
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release_trdl-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ jobs:
- deploy_channels_cm_prod
- publish_werf_images
uses: ./.github/workflows/_notification.yml
with:
taskSign: ${{ secrets.LOOP_NOTIFICATION_GROUP }} прожмите `task sign`
secrets:
loopNotificationGroup: ${{ secrets.LOOP_NOTIFICATION_GROUP }}
webhook: ${{ secrets.LOOP_NOTIFICATION_WEBHOOK }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release_trdl-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
if: always()
needs: release
uses: ./.github/workflows/_notification.yml
with:
taskSign: ${{ secrets.LOOP_NOTIFICATION_GROUP }} прожмите `task sign`
secrets:
loopNotificationGroup: ${{ secrets.LOOP_NOTIFICATION_GROUP }}
webhook: ${{ secrets.LOOP_NOTIFICATION_WEBHOOK }}
Expand Down

0 comments on commit b4486f6

Please sign in to comment.