File tree Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Expand file tree Collapse file tree 1 file changed +1
-30
lines changed Original file line number Diff line number Diff line change 59
59
args : ' {\"channel\":\"CF9RK4H89\",\"text\":\"An invitation to join the layer5io GitHub org has been sent\"}'
60
60
# to the author of: ${{env.URL}}\"}'
61
61
62
- star-notify :
63
- if : github.event_name == 'watch'
64
- name : Notify Slack on star
65
- runs-on : ubuntu-latest
66
- steps :
67
- - name : Get current star count
68
- run : |
69
- echo "STARS=$(curl --silent 'https://api.github.com/repos/${{github.repository}}' -H 'Accept: application/vnd.github.preview' | jq '.stargazers_count')" >> $GITHUB_ENV
70
- - name : Notify slack
71
- env :
72
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
73
- uses : pullreminders/slack-action@master
74
- with :
75
- args : ' {\"channel\":\"CSK7N9TGX\",\"text\":\"${{ github.actor }} just starred ${{github.repository}}! (https://github.com/${{github.repository}}/stargazers) Total ⭐️: ${{env.STARS}}\"}'
76
-
77
- good-first-issue-notify :
78
- if : github.event_name == 'issues' && github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only'
79
- name : Notify Slack for new good-first-issue
80
- runs-on : ubuntu-latest
81
- steps :
82
- - name : Notify slack
83
- env :
84
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
85
- uses : pullreminders/slack-action@master
86
- with :
87
- args : |
88
- {
89
- "channel": "C019426UBNY",
90
- "text": "A new, good first issue is up for grabs: [${{github.event.issue.title}}](${{github.event.issue.html_url}})"
91
- }
62
+
You can’t perform that action at this time.
0 commit comments