Skip to content

Commit

Permalink
Update star.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
athul committed Jan 7, 2020
1 parent 8976756 commit bf94cc7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 27 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ jobs:
- name: Build
run: |
go build -v .
go build -ldflags="-s -w"
ls
- uses: actions/upload-artifact@v1
with:
name: Shelby Binary
path: shelby

- name: Statusoli
uses: athul/statusoli@master
if: always()
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: IssueGuy
name: Starboy

on:
pull_request:
types: [assigned, opened,reopened]
issues:
types: [opened,closed,reopened,assigned]
on: [push, pull_request, issues, issue_comment, watch]

jobs:
build:
Expand All @@ -17,4 +13,15 @@ jobs:
TELEGRAM_CHAT_ID: ${{ secrets.chat}}
TELEGRAM_TOKEN: ${{secrets.token }}
INPUT_STATUS: ${{ job.status }}
run: sh -c "$(curl -sL https://raw.githubusercontent.com/athul/autom/master/tg_gh_action_noti.sh)"
STARGAZERS: ${{ github.event.repository.stargazers_count }}
FORKERS: ${{ github.event.repository.forks_count }}
IU_TITLE: ${{ github.event.issue.title }}
IU_NUM: ${{ github.event.issue.number }}
IU_ACTOR: ${{ github.event.issue.user.login }}
IU_BODY: ${{ github.event.issue.body }}
PR_STATE: ${{ github.event.action }}
PR_NUM: ${{ github.event.number }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_BODY: ${{ github.event.pull_request.body }}

run: sh -c "$(curl -sL https://raw.githubusercontent.com/athul/autom/master/tg_gh_action_noti.sh)"
18 changes: 0 additions & 18 deletions .github/workflows/star.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

[![Build Status](https://travis-ci.org/athul/shelby.svg?branch=master)](https://travis-ci.org/athul/shelby) ![](https://github.com/athul/shelby/workflows/StarBoy/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/athul/shelby)](https://goreportcard.com/report/github.com/athul/shelby)
[![Build Status](https://travis-ci.org/athul/shelby.svg?branch=master)](https://travis-ci.org/athul/shelby) ![](https://github.com/athul/shelby/workflows/Starboy/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/athul/shelby)](https://goreportcard.com/report/github.com/athul/shelby)

</div>

Expand Down

0 comments on commit bf94cc7

Please # to comment.