Skip to content

Commit 0213bad

Browse files
authored
Merge branch 'master' into fix/ref
2 parents 6857fce + 05062e2 commit 0213bad

File tree

3 files changed

+36
-32
lines changed

3 files changed

+36
-32
lines changed

.github/workflows/newcomers.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/slack.yml

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,36 @@
1-
name: Slack Notify on Star
2-
on: watch
1+
name: Slack Notify
2+
3+
on:
4+
watch:
5+
types: [started]
6+
issues:
7+
types: [labeled]
8+
39
jobs:
410
star-notify:
11+
if: github.event_name == 'watch'
512
name: Notify Slack on star
613
runs-on: ubuntu-latest
714
steps:
8-
- name: Get current star count
9-
run: |
10-
echo "STARS=$(curl --silent 'https://api.github.com/repos/${{github.repository}}' -H 'Accept: application/vnd.github.preview' | jq '.stargazers_count')" >> $GITHUB_ENV
11-
- name: Notify slack
12-
env:
13-
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
14-
uses: pullreminders/slack-action@master
15-
with:
16-
args: '{\"channel\":\"CSK7N9TGX\",\"text\":\"${{ github.actor }} just starred ${{github.repository}}! (https://github.com/${{github.repository}}/stargazers) Total ⭐️: ${{env.STARS}}\"}'
15+
- name: Get current star count
16+
run: |
17+
echo "STARS=$(curl --silent 'https://api.github.com/repos/${{ github.repository }}' -H 'Accept: application/vnd.github.preview' | jq '.stargazers_count')" >> $GITHUB_ENV
18+
- name: Notify Slack
19+
env:
20+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
21+
uses: pullreminders/slack-action@master
22+
with:
23+
args: '{\"channel\":\"CSK7N9TGX\",\"text\":\"${{ github.actor }} just starred ${{ github.repository }}! (https://github.com/${{ github.repository }}/stargazers) Total ⭐️: ${{ env.STARS }}\"}'
24+
25+
good-first-issue-notify:
26+
if: github.event_name == 'issues' && (github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only')
27+
name: Notify Slack for new good-first-issue
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Notify Slack
31+
env:
32+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
33+
uses: pullreminders/slack-action@master
34+
with:
35+
args: '{\"channel\":\"C019426UBNY\",\"type\":\"section\",\"text\":\":new: Good first issue up for grabs: ${{ github.event.issue.title }} - ${{ github.event.issue.html_url }} \"}'
36+

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
[![Go Report Card](https://goreportcard.com/badge/github.com/meshery/meshery-traefik-mesh)](https://goreportcard.com/report/github.com/meshery/meshery-traefik-mesh)
1111
[![Build Status](https://img.shields.io/github/actions/workflow/status/meshery/meshery-traefik-mesh/release-drafter.yml)](https://github.com/meshery/meshery-traefik-mesh/actions)
1212
[![GitHub](https://img.shields.io/github/license/meshery/meshery-traefik-mesh.svg)](LICENSE)
13-
[![GitHub issues by-label](https://img.shields.io/github/issues/meshery/meshery-traefik-mesh/help%20wanted.svg)](https://github.com/meshery/meshery-traefik-mesh/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
14-
[![Website](https://img.shields.io/website/https/meshery.io/meshery.svg)](https://meshery.io/meshery/)
15-
[![Twitter Follow](https://img.shields.io/twitter/follow/meshery.svg?label=Follow&style=social)](https://twitter.com/intent/follow?screen_name=mesheryio)
16-
[![Slack](https://img.shields.io/badge/Slack-@meshery.svg?logo=slack)](http://slack.meshery.io)
13+
[![GitHub issues by-label](https://img.shields.io/github/issues/meshery/meshery-traefik-mesh/help%20wanted.svg)](https://github.com/issues?q=is%3Aopen%20is%3Aissue%20archived%3Afalse%20(org%3Ameshery%20OR%20org%3Aservice-mesh-performance%20OR%20org%3Aservice-mesh-patterns%20OR%20org%3Ameshery-extensions)%20label%3A%22help%20wanted%22)
14+
[![Website](https://img.shields.io/website/https/layer5.io/meshery.svg)](https://layer5.io/meshery/)
15+
[![Twitter Follow](https://img.shields.io/twitter/follow/layer5.svg?label=Follow&style=social)](https://twitter.com/intent/follow?screen_name=mesheryio)
16+
[![Slack](https://img.shields.io/badge/Slack-@layer5.svg?logo=slack)](http://slack.meshery.io)
1717
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3564/badge)](https://bestpractices.coreinfrastructure.org/projects/3564)
1818

1919
<p style="clear:both;">
@@ -59,7 +59,7 @@ Our projects are community-built and welcome collaboration. 👍 Be sure to see
5959
✔️ <em><strong>Discuss</strong></em> in the <a href="https://discuss.meshery.io">Community Forum</a>.<br />
6060
</p>
6161
<p align="center">
62-
<i>Not sure where to start?</i> Grab an open issue with the <a href="https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+org%3Alayer5io+org%3Ameshery+org%3Aservice-mesh-performance+org%3Aservice-mesh-patterns+label%3A%22help+wanted%22+">help-wanted label</a>.
62+
<i>Not sure where to start?</i> Grab an open issue with the <a href="https://github.com/issues?q=is%3Aopen%20is%3Aissue%20archived%3Afalse%20(org%3Ameshery%20OR%20org%3Aservice-mesh-performance%20OR%20org%3Aservice-mesh-patterns%20OR%20org%3Ameshery-extensions)%20label%3A%22help%20wanted%22">help-wanted label</a>.
6363
</p>
6464

6565
**License**

0 commit comments

Comments
 (0)