Skip to content

Fixed a nasty bug with memory files leaking into context #56

Fixed a nasty bug with memory files leaking into context

Fixed a nasty bug with memory files leaking into context #56

name: Notify Slack on Merge to Main
on:
pull_request:
types: [closed]
branches:
- main
jobs:
notify:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Send notification to Slack
uses: slackapi/slack-github-action@v1.24.0
with:
payload: |
{
"text": ${{ toJSON(format('[Codeplain Client] PR <{0}|#{1}: {2}> was merged to main by `{3}`.', github.event.pull_request.html_url, github.event.pull_request.number, github.event.pull_request.title, github.actor)) }}
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}