generate my_github status using GitHub Actions

Overview

Use

  • Update your README

Add a comment to your README.md like this:


  • write yml file

Sample

name: GitHub README STATS

on:
  workflow_dispatch:
  schedule:
    - cron: "0 0 * * *"
  push:
    branches:
      - main

env:
  GITHUB_NAME: yihong0618
  GITHUB_EMAIL: [email protected]
  STARED_NUMBER: 10

jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
      - uses: actions/[email protected]
      - name: My GitHub Status
        uses: yihong0618/[email protected]
        with:
          # if you also want to send TELE
          TELEGRAM_TOKEN: ${{ secrets.TELE_TOKEN }}
          TELEGRAM_CHAT_ID: ${{ secrets.TELE_CHAT_ID }}
          STARED_NUMBER: ${{ env.STARED_NUMBER }}

      - name: Push README
        uses: github-actions-x/[email protected]
        with:
          github-token: ${{ secrets.G_T }}
          # In this example, you can also use the ${{ secrets.GITHUB_TOKEN }} variable 
          # Permissions for the GITHUB_TOKEN : https://docs.github.com/en/[email protected]/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token
        
          # If you need more precise Token permission control , you can create a personal access token and set it as a secret in your repository .
          commit-message: "Refresh README (GITHUB STATUS)"
          files: README.md
          rebase: "true"
          name: ${{ env.GITHUB_NAME }}
          email: ${{ env.GITHUB_EMAIL }}

My example.

My GitHub Status

The repos I created

ID REPO START UPDATE LAUGUAGE STARS
1 running_page 2020-09-17 2020-12-31 Python 954
2 2020 2020-01-10 2020-12-30 C 97
3 gaycore 2019-02-18 2020-12-10 Python 89
4 gitblog 2019-07-18 2020-12-29 Python 77
5 vscode-gcores 2020-01-04 2020-11-18 TypeScript 47
6 shanbay_remember 2020-12-02 2020-12-28 JavaScript 27
7 gcores_calendar 2020-08-24 2020-12-31 JavaScript 19
8 github-readme-stats 2020-12-24 2020-12-31 Go 10
9 blog 2020-06-22 2020-12-27 JavaScript 9
10 Runtastic 2020-07-24 2020-11-16 Python 7
11 Python365 2019-09-05 2020-10-27 Python 3
12 yihong0618 2020-07-16 2020-12-11 md 1
13 edocteel001 2019-11-12 2020-05-18 JavaScript 1
14 2021 2020-12-21 2020-12-31 md 1
15 hoingyi_bot 2019-10-16 2020-05-25 Shell 0
16 gaycore-server 2019-02-18 2020-11-02 Go 0
17 collections 2019-03-05 2019-03-06 md 0
18 Frontend100 2019-10-31 2019-12-05 HTML 0
19 zouzou0208.github.io 2018-03-06 2018-03-06 HTML 0

The repos I contributed to

ID REPO FIRSTDATE LASTEDATE PRCOUNT
1 GpxTrackPoster 2019-08-06 2020-09-26 9
2 leetcode-cli 2019-11-29 2020-08-21 8
3 vscode-leetcode 2019-12-03 2020-07-22 6
4 nrc-exporter 2020-07-05 2020-10-07 5
5 kb 2020-09-21 2020-09-23 3
6 awesome-cn-cafe 2020-08-04 2020-08-10 3
7 iredis 2019-12-30 2020-09-16 2
8 activities 2020-07-09 2020-07-14 2
9 LearnJapan 2020-03-31 2020-03-31 1
10 GadioVideo 2019-09-25 2019-09-25 1
11 TopList 2019-08-19 2019-08-19 1
12 py-staticmaps 2020-09-20 2020-09-20 1
13 awesome-cn-cafe-web 2020-08-18 2020-08-18 1
14 highlight 2020-09-08 2020-09-08 1
15 help-to-be-helped 2020-02-04 2020-02-04 1
16 build-your-own-vue 2020-01-16 2020-01-16 1

The repos I stared (random 10)

ID REPO STAREDDATE LAUGUAGE LATESTUPDATE
1 python3-source-code-analysis 2019-01-02 Makefile 2020-12-26
2 demos 2018-11-29 HTML 2020-09-30
3 mitmproxy 2020-09-28 Python 2020-12-31
4 RL-Stock 2020-07-16 Jupyter Notebook 2020-12-30
5 gridstudio 2019-08-07 JavaScript 2020-12-30
6 Gitter 2019-06-25 JavaScript 2020-12-30
7 Photon 2018-07-27 Python 2020-12-31
8 w13scan 2020-03-19 Smarty 2020-12-30
9 write-yourself-a-git 2019-10-25 Python 2020-12-25
10 any-rule 2019-12-05 JavaScript 2020-12-31
You might also like...
:runner:runs go generate recursively on a specified path or environment variable and can filter by regex

Package generate Package generate runs go generate recursively on a specified path or environment variable like $GOPATH and can filter by regex Why wo

A command line tool to generate sequence diagrams
A command line tool to generate sequence diagrams

goseq - text based sequence diagrams A small command line utility used to generate UML sequence diagrams from a text-base definition file. Inspired by

Generate type-safe Go converters by simply defining an interface

goverter a "type-safe Go converter" generator goverter is a tool for creating type-safe converters. All you have to do is create an interface and exec

Generate random, pronounceable, sometimes even memorable, "superhero like" codenames - just like Docker does with container names.

Codename an RFC1178 implementation to generate pronounceable, sometimes even memorable, "superheroe like" codenames, consisting of a random combinatio

An application that is developed to generate application by API specification

GO boilerplate is an application that is developed to generate application by API specification and Database schema with the collaboration with opn-generator.

A tool to generate Pulumi Package schemas from Go type definitions

MkSchema A tool to generate Pulumi Package schemas from Go type definitions. This tool translates annotated Go files into Pulumi component schema meta

Generate FIRST/FOLLOW/PREDICT Set from BNF.

Generate FIRST/FOLLOW/PREDICT Set from BNF. We can use it to study parser theory. Feature FirstSet generate. Output pretty. FollowSet generate. Output

Generate droppers with encrypted payloads automatically.

This tool started out as a simple Python script. After discovering Python just couldn't cut it for my intended use I decided to learn and move to Golang. So far I'm quite happy with that decision.

Library to generate TOTP/HOTP codes

otpgen Library to generate TOTP/HOTP codes Installation go get -u github.com/grijul/otpgen Usage Here is a sample demonstration package main import (

Comments
  • Add PR links in PR count

    Add PR links in PR count

    This will be how it looks :

    https://github.com/Allianzcortex/github-readme-stats#the-repos-i-contributed-to

    Now users can see the PR links when clicking the PR count.


    I will refactor the *.yml part later. Just hope the coding part(github.go) is good to take a look @yihong0618

    opened by Allianzcortex 15
  • Add github action specification

    Add github action specification

    Close #1

    Change summary

    • Use delimiter pairs <!--START_SECTION:my_github--> and <!--END:my_github--> as placeholders
    • Create a Dockerfile for Action. Ref
    • Update workflow to use the new GitHub action
    opened by frostming 4
  • Make a GitHub Action

    Make a GitHub Action

    This repo is interesting, a GitHub Action would be great for others to include in their profile page.

    Currently, based on the implementation language, a docker image should do the trick. But ideally, using JavaScript/TypeScript will speed up a lot. That can be done in the future though.

    I can help to do the first step.

    opened by frostming 3
  • feat: the number of personal repos

    feat: the number of personal repos

    The number of personal repos maybe too long for some users who own a LOT of repos. Better add this REPOS_NUM option to limit the number of personal repos.

    opened by pengx17 0
Releases(v2.0)
Owner
yihong
The best is yet to come
yihong
A Simple Bank Web Service implemented in Go, HTTP & GRPC, PostgreSQL, Docker, Kubernetes, GitHub Actions CI

simple-bank Based on this Backend Master Class by TECH SCHOOL: https://youtube.com/playlist?list=PLy_6D98if3ULEtXtNSY_2qN21VCKgoQAE Requirements Insta

Tien La 0 Dec 9, 2021
Terraform Provider for PGP Actions

Terraform Provider PGP Warning: Use of this provider will result in secrets being in terraform state in PLAIN TEXT (aka NOT ENCRYPTED). You've been wa

Erik Kristensen 9 Sep 30, 2022
A cli for fetching the status and full output of CircleCI jobs.

CCI A cli for fetching the status and full output of CircleCI jobs. Install go install github.com/tmessi/cci/[email protected] Usage cci is designed to have

Timothy Messier 1 Oct 29, 2021
discord rich status for bash

bashcord discord rich presence for bash Installation go get github.com/deletescape/bas[email protected] Setup Put the following into your .bashrc, this mak

maia tillie arson crimew 18 Dec 11, 2022
Generate spreadsheets based on GitHub contributions

pullsheet generates a CSV (comma separated values) & HTML output about GitHub activity across a series of repositories.

Google 63 Oct 17, 2022
Program to generate ruins using the Numenera Ruin Mapping Engine

Ruin Generator This is my attempt to build a program to generate ruins for Numenera using the rules from the Jade Colossus splatbook. The output only

Sean Hagen 0 Nov 7, 2021
Print lines matching a pattern in repositories using GitHub API

gh-grep Print lines matching a pattern in repositories using GitHub API Usage $ gh grep func.*schema.Schema --include=**/*.go --owner k1LoW --repo tbl

Ken’ichiro Oyama 145 Dec 1, 2022
HTTP service to generate PDF from Json requests

pdfgen HTTP service to generate PDF from Json requests Install and run The recommended method is to use the docker container by mounting your template

Hyperboloide 61 Dec 2, 2022
Automatically generate Go test boilerplate from your source code.

gotests gotests makes writing Go tests easy. It's a Golang commandline tool that generates table driven tests based on its target source files' functi

Charles Weill 4.4k Jan 3, 2023
generate fake data in go

Faker for Go Usage package main import ( "github.com/manveru/faker" ) func main() { fake, err := faker.New("en") if err != nil { panic(err

Michael Fellinger 163 Sep 29, 2022