File tree Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : Newcomers Alert
2
+ on :
3
+ issues :
4
+ types : [labeled]
5
+ jobs :
6
+ good-first-issue-notify :
7
+ if : github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only'
8
+ name : Notify Slack for new good-first-issue
9
+ runs-on : ubuntu-latest
10
+ steps :
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\":\"C019426UBNY\",\"text\":\"A good first issue label was just added to ${{github.event.issue.html_url}}.\"}'
Original file line number Diff line number Diff line change 5
5
name : Notify Slack on star
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - name : Get current star count
9
- run : |
10
- echo "STARS=$(curl --silent 'https://api.github.com/repos/layer5io/meshery-smp-performance-action' -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 meshery-smp-performance-action! (https://github.com/layer5io/meshery-smp-performance-action/stargazers) Total ⭐️: ${{env.STARS}}\"}'
17
-
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}}\"}'
You can’t perform that action at this time.
0 commit comments