Code Monkey home page Code Monkey logo

ci-notice's Introduction

😱 CI 通知

简体中文 | English

🏞 预览

当前提供 2 种提醒方式。

  • 钉钉群通知

  • Issue

#3

🚀 如何使用?

你可以参照当前项目的例子来使用:https://github.com/actions-cool/ci-notice/blob/main/.github/workflows/ci-notice.yml

触发条件根据需要设置,不支持 pull_request_target

name: CI Notice

on:
  schedule:
    - cron: '0 0 * * *'

jobs:
  setup:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@main

      - uses: actions-cool/ci-notice@v1
        with:
          ci: |
            npm install
            npm run build
          notice-types: 'dingding, issue'
          dingding-token: ${{ secrets.DINGDING_TOKEN }}
          issue-labels: 'x1, x2'
          issue-assignees: 'people1, people2'

Inputs

名称 描述 必填
token GitHub token。如果不传,即为默认 token。
ci 需要执行的命令
notice-types 通知类型,可单独,也可两者都通知。
dingding-token 钉钉群机器人 Token。
notice-title 通知标题,预览中为默认。
notice-body 通知内容,预览中为默认。
issue-labels 为新开的 Issue 增加标签。
issue-assignees 为新开的 Issue 增加指定人。
  • ci:默认为 install & build
  • dingding-token: 在仓库 secrets 中设置,若不会使用,可在 Issue 提问或加钉钉群提问。

outputs

输出结果 resultsuccess 或者 failed,可自定义结果操作。

⚡ 反馈

欢迎你来尝试使用,并提出意见,你可以通过以下方式:

  • 通过 Issue 报告 bug 或进行咨询
  • 提交 Pull Request 改进 ci-notice 的代码

也欢迎加入 钉钉交流群

更新日志

CHANGELOG

LICENSE

MIT

ci-notice's People

Contributors

xrkffgg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ci-notice's Issues

t

1
2
33211

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.