* refactor code create user emp

* test pull request

* test

* test noti

* test noti

* test noti link

* test

---------

Co-authored-by: mamoss <>
This commit is contained in:
Kittapath 2025-10-06 16:29:04 +07:00 committed by GitHub
parent c5710da78e
commit 2f3a377d38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,12 +10,12 @@ jobs:
steps: steps:
- name: Send Discord - name: Send Discord
run: | run: |
curl -X POST "${{ secrets.DISCORD_WEBHOOK }}" \ curl -X POST "${{ secrets.DISCORD_WEBHOOK_PULLREQUEST }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"embeds": [{ "embeds": [{
"title": "🔔 **Service:** ${{ github.repository }}", "title": "🔔 **Service:** ${{ github.repository }}",
"description": "👤 **Author:** ${{ github.event.pull_request.user.login }}\n🌿 **Branch:** ${{ github.event.pull_request.head.ref }} → ${{ github.event.pull_request.base.ref }}\n📦 **Repository:** [#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})", "description": "👤 **Author:** ${{ github.event.pull_request.user.login }}\n🌿 **Branch:** ${{ github.event.pull_request.head.ref }} → ${{ github.event.pull_request.base.ref }}\n📦 **Pull Request:** [#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})",
"color": 5814783, "color": 5814783,
"timestamp": "${{ github.event.pull_request.created_at }}" "timestamp": "${{ github.event.pull_request.created_at }}"
}] }]