Skip to content

test(api-notify-route): Add responsive tests for multi-device columns and mobile viewports #3512

test(api-notify-route): Add responsive tests for multi-device columns and mobile viewports

test(api-notify-route): Add responsive tests for multi-device columns and mobile viewports #3512

name: PR Merged Greeter
on:
pull_request_target:
types: [closed]
permissions:
pull-requests: write
issues: write
jobs:
thank-contributor:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Leave Welcome & Discord Comment
uses: actions/github-script@v7
with:
script: |
const creator = context.payload.pull_request.user.login;
const message = `🎉 **Congratulations @${creator}! Your PR has been successfully merged.** 🚀\n\nThank you for contributing to **CommitPulse**. Your work helps us build a better tool for the community.\n\n⚠️ **Important for GSSoC Contributors:**\nYou are strictly advised to join our [Discord Server](https://discord.gg/f84SDraEBH) as it is **mandatory** for all GSSoC participants. All important announcements, point claims, and community discussions happen there.\n\nKeep building! 💻✨`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body: message
});