mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
email + issue + slack + gh notif is a little too much noise.
This commit is contained in:
parent
c0df6e2dfb
commit
844e304947
2 changed files with 18 additions and 15 deletions
29
.github/actions/complain/action.yml
vendored
29
.github/actions/complain/action.yml
vendored
|
@ -9,12 +9,15 @@ inputs:
|
||||||
description: platform key
|
description: platform key
|
||||||
required: true
|
required: true
|
||||||
token:
|
token:
|
||||||
|
description: github token
|
||||||
required: true
|
required: true
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
slack-webhook:
|
# slack-webhook:
|
||||||
required: false
|
# description: slack webhook
|
||||||
slack-channel:
|
# required: false
|
||||||
required: false
|
# slack-channel:
|
||||||
|
# description: slack channel
|
||||||
|
# required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
|
@ -54,13 +57,13 @@ runs:
|
||||||
|
|
||||||
logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
|
||||||
- uses: martialonline/workflow-status@v3
|
# - uses: martialonline/workflow-status@v3
|
||||||
id: status
|
# id: status
|
||||||
|
|
||||||
- uses: rtCamp/action-slack-notify@v2
|
# - uses: rtCamp/action-slack-notify@v2
|
||||||
if: ${{ inputs.slack-webhook != '' }}
|
# if: ${{ inputs.slack-webhook != '' }}
|
||||||
env:
|
# env:
|
||||||
SLACK_WEBHOOK: ${{ inputs.slack-webhook }}
|
# SLACK_WEBHOOK: ${{ inputs.slack-webhook }}
|
||||||
SLACK_CHANNEL: ${{ inputs.slack-channel }}
|
# SLACK_CHANNEL: ${{ inputs.slack-channel }}
|
||||||
SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }}
|
# SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }}
|
||||||
SLACK_COLOR: ${{ steps.status.outputs.status }}
|
# SLACK_COLOR: ${{ steps.status.outputs.status }}
|
||||||
|
|
4
.github/workflows/new-version.yml
vendored
4
.github/workflows/new-version.yml
vendored
|
@ -66,5 +66,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
projects: ${{ inputs.projects }}
|
projects: ${{ inputs.projects }}
|
||||||
platform: ${{ inputs.platform }}
|
platform: ${{ inputs.platform }}
|
||||||
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
# slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
slack-channel: ${{ secrets.SLACK_CHANNEL }}
|
# slack-channel: ${{ secrets.SLACK_CHANNEL }}
|
||||||
|
|
Loading…
Reference in a new issue