Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.09 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.09 KB

Idobata Notify - GitHub Action

A GitHub Action to send CI result to a Idobata channel. 🔔

Idobata Notify examples


How to use

# Single job use

  - name: 🔔 Notify results
    uses: yasslab/idobata_notify
    if: always()
    with:
      idobata_hook_url: ${{ secrets.IDOBATA_GITHUB_ACTIONS }}
# Matrix

  notify:
    needs: test # depends where the matrix job is located
    runs-on: ubuntu-latest
    if: always()
    steps:

      - name: 🔔 Notify results
        uses: yasslab/idobata_notify
        with:
          idobata_hook_url: ${{ secrets.IDOBATA_GITHUB_ACTIONS }}
          status: ${{ needs.test.result }} # passing the matrix jobs results

LICENSE

MIT License. https://github.com/yasslab/idobata_notify/blob/main/LICENSE


Copyright

Copyright © YassLab Inc. 2012-2021

YassLab 株式会社ロゴ