fix permissions

This commit is contained in:
velaraptor-runpod
2026-04-30 20:00:48 -05:00
parent 5b29643799
commit 04b342c675
2 changed files with 8 additions and 19 deletions
+4 -19
View File
@@ -1,4 +1,4 @@
name: Slack PR and Issue Notifications
name: Slack PR Notifications
on:
pull_request:
@@ -6,6 +6,9 @@ on:
issues:
types: [opened]
permissions:
contents: read
jobs:
notify:
runs-on: ubuntu-latest
@@ -36,21 +39,3 @@ jobs:
}
]
}'
- name: Notify Slack - New Issue
if: github.event_name == 'issues'
run: |
curl -sf -X POST "${{ secrets.SLACK_WEBHOOK_URL }}" \
-H "Content-Type: application/json" \
-d '{
"text": ":bug: New issue in worker-vllm: *${{ github.event.issue.title }}*",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":bug: *New Issue — worker-vllm*\n*<${{ github.event.issue.html_url }}|${{ github.event.issue.title }}>*\nOpened by *${{ github.event.issue.user.login }}*"
}
}
]
}'