Skip to content

Commit acf9c9b

Browse files
committed
Refactor Slack notification in onboarding workflow to remove channel specification, streamlining the message payload.
1 parent 207950a commit acf9c9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/onboard-new-repo.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,7 @@ jobs:
263263
with:
264264
payload: |
265265
{
266-
"text": "Onboarding failed for ${{ steps.target.outputs.repository }} - Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
267-
"channel": "#security-notifications"
266+
"text": "Onboarding failed for ${{ steps.target.outputs.repository }} - Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
268267
}
269268
env:
270269
SLACK_WEBHOOK_URL: ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)