feat: add pre-commit hook for lint and typecheck via husky #154
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: Slack Notification on PR Merge | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| notify: | |
| if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == github.event.repository.default_branch | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send Slack Notification | |
| run: | | |
| curl -X POST \ | |
| -H 'Content-type: application/json' \ | |
| --data '{ | |
| "channel": "qa-messenger", | |
| "text": "---\n**PR Merged** \n*Repo:* '"${{ github.repository }}"'\n*Title:* '"${{ github.event.pull_request.title }}"'\n*Tag:* <'"${{ secrets.SLACK_BORIS_MEMBER_ID }}"'> <'"${{ secrets.SLACK_BO_MEMBER_ID }}"'>\n*Link:* <'"${{ github.event.pull_request.html_url }}"'|View PR>" | |
| }' \ | |
| ${{ secrets.SLACK_QA_MESSENGER_WEBHOOK_URL }} |