Skip to content

Commit e6f513e

Browse files
authored
Update label-triggered.yml
Signed-off-by: Rian the rizzler <[email protected]>
1 parent 59a1fa4 commit e6f513e

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/label-triggered.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -59,33 +59,4 @@ jobs:
5959
args: '{\"channel\":\"CF9RK4H89\",\"text\":\"An invitation to join the layer5io GitHub org has been sent\"}'
6060
# to the author of: ${{env.URL}}\"}'
6161

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+

0 commit comments

Comments
 (0)