Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Create feature-launcher.yml workflow #1068

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/feature-launcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Automate Engineering Feature Release Campaigns

on:
issues:
types: [labeled]

jobs:
notify-discord:
if: github.event.label.name == 'feature-release'
runs-on: ubuntu-latest
steps:
- name: Send Feature Release Notification to Discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}
ISSUE_URL: ${{ github.event.issue.html_url }}
run: |
curl -H "Content-Type: application/json" \
-X POST \
-d '{
"content": "**🚀 New Feature Launched!**\n\n🎉 *${{ env.ISSUE_TITLE }}* is now available to try!\n📖 Description: ${{ env.ISSUE_BODY }}\n🔗 [Check it out here](${{ env.ISSUE_URL }})"
}' \
$DISCORD_WEBHOOK