Skip to content

fix: docker-compose 오타 수정 #15

fix: docker-compose 오타 수정

fix: docker-compose 오타 수정 #15

Workflow file for this run

name: Notify Slack on PR Closed for Dev Branch
on:
pull_request_target:
types:
- opened
- reopened
jobs:
notify-slack:
if: github.event.pull_request.base.ref == 'dev'
runs-on: ubuntu-latest
steps:
- name: Debug PR URL and Body
run: |
echo "PR URL: ${{ github.event.pull_request.html_url }}"
echo "PR Body: ${{ github.event.pull_request.body }}"
- name: Send notification to Slack
uses: slackapi/slack-github-action@v1.23.0
with:
payload: |
{
"text": "🚀 Pull Request *#${{ github.event.pull_request.number }}* has been merged into *dev* branch!",
"attachments": [
{
"title": "PR Details",
"title_link": "${{ github.event.pull_request.html_url }}",
"text": ${{ toJson(github.event.pull_request.body) }}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}