CI: Node 20 deprecation in .github/workflows
#4
This file contains hidden or 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
| name: Notify Slack on New issue | |
| on: | |
| issues: | |
| types: [opened] | |
| jobs: | |
| notify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send Slack notification when new issue is opened | |
| env: | |
| SLACK_NOTIFY_URL: ${{ secrets.SLACK_NOTIFY_URL }} | |
| ISSUE_TITLE: ${{ github.event.issue.title }} | |
| ISSUE_URL: ${{ github.event.issue.html_url }} | |
| ISSUE_AUTHOR: ${{ github.event.issue.user.login }} | |
| run: | | |
| curl -X POST \ | |
| --data-urlencode \ | |
| "payload={\"channel\": \"#soliplex\", \"username\": \"soliplex\", \"text\": \":bell: New issue by *${ISSUE_AUTHOR}*:\n*${ISSUE_TITLE}*\n${ISSUE_URL}\", \"icon_emoji\": \":ghost:\"}" \ | |
| "$SLACK_NOTIFY_URL" |