Skip to content
play

GitHub Action

Do It Later on Github Issue

v0.1.0-alpha Pre-release

Do It Later on Github Issue

play

Do It Later on Github Issue

Read from github issues and send to your telegram chat

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Do It Later on Github Issue

uses: tegarimansyah/[email protected]

Learn more about this action in tegarimansyah/doitlater

Choose a version

Do It Later (Via Github Issue)

Structure

First of all, we have do it later github action in 2 file:

It will get all issues, get N num_issues, compose the message from the data and send it to telegram via sendTelegram Azure Functions. The example how to use it in .github/workflows/get-issues-weekly.yml

We have 3 functions (deployed to Azure Functions)

  • sendTelegram
    Receive list of issues from github action, get image from Azure Blob, send it to telegram and (TODO) send it to createAnalytics function via cosmos db trigger
  • createAnalytics (In Progress)
    Analyze previous and current data to create a graph that show us our progress
  • responseIssue
    Receive data from telegram button and do some action (comment, add label or close an issue), depends on user action.

Microsoft Technology That We Use:

  • Github + Github Action
  • Visual Studio Code
    • Azure Function extensions
    • Azure Storage extensions
  • Azure Functions
  • Azure Blob
  • Azure Cosmos DB (TODO)
  • Typescript

Set Up Your Azure Infrastructure (TODO)

  • Clone this repo
  • Open with Visual Studio Code and install two extensions:
    • Azure Function
    • Azure Sign In
  • Create Function in Azure
  • Right Click, deploy to function
  • Copy Host Key
  • Set Up Github Action