mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
make the issue even if slack fails
This commit is contained in:
parent
de2d9c886d
commit
999b6a83e2
1 changed files with 11 additions and 11 deletions
22
.github/workflows/complain.yml
vendored
22
.github/workflows/complain.yml
vendored
|
@ -17,17 +17,6 @@ jobs:
|
||||||
complain:
|
complain:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: martialonline/workflow-status@v3
|
|
||||||
id: status
|
|
||||||
|
|
||||||
- uses: rtCamp/action-slack-notify@v2
|
|
||||||
if: ${{ env.SLACK_WEBHOOK != '' }}
|
|
||||||
env:
|
|
||||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
|
||||||
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
|
|
||||||
SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }}
|
|
||||||
SLACK_COLOR: ${{ steps.status.outputs.status }}
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
if: github.ref_name == 'main'
|
if: github.ref_name == 'main'
|
||||||
|
|
||||||
|
@ -39,3 +28,14 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PACKAGE: ${{ inputs.projects }} (${{ inputs.platform }})
|
PACKAGE: ${{ inputs.projects }} (${{ inputs.platform }})
|
||||||
URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
|
||||||
|
- uses: martialonline/workflow-status@v3
|
||||||
|
id: status
|
||||||
|
|
||||||
|
- uses: rtCamp/action-slack-notify@v2
|
||||||
|
if: ${{ env.SLACK_WEBHOOK != '' }}
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
|
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
|
||||||
|
SLACK_MESSAGE: new-version:${{ inputs.projects }} (${{ inputs.platform }}) ${{ steps.status.outputs.status }}
|
||||||
|
SLACK_COLOR: ${{ steps.status.outputs.status }}
|
||||||
|
|
Loading…
Reference in a new issue