-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from ahmadateya/update-slack-with-new-comers-…
…issues Update slack with new comers issues
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Newcomers Alert | ||
on: | ||
issues: | ||
types: [labeled] | ||
jobs: | ||
good-first-issue-notify: | ||
if: github.event.label.name == 'good first issue' || github.event.label.name == 'first-timers-only' | ||
name: Notify Slack for new good-first-issue | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify slack | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
uses: pullreminders/slack-action@master | ||
with: | ||
args: '{\"channel\":\"C019426UBNY\",\"text\":\"A good first issue label was just added to ${{github.event.issue.html_url}}.\"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters