Skip to content

Commit

Permalink
Add slapr workflow for automatic slack emoji addition
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Nov 23, 2023
1 parent eaf2374 commit 3e82c29
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/slapr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Slack emoji PR updates
on:
pull_request_review:
types: [submitted]
pull_request:
types: [closed]

jobs:
run_slapr_datadog_agent:
runs-on: ubuntu-latest
steps:
- uses: DataDog/slapr@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_CHANNEL_ID: "${{ secrets.SLACK_CHANNEL_ID }}"
SLACK_API_TOKEN: "${{ secrets.SLACK_API_TOKEN }}"
SLAPR_BOT_USER_ID: "${{ secrets.SLAPR_BOT_USER_ID }}"
SLAPR_EMOJI_REVIEW_STARTED: "review_started"
SLAPR_EMOJI_APPROVED: "approved2"
SLAPR_EMOJI_CHANGES_REQUESTED: "changes_requested"
SLAPR_EMOJI_MERGED: "merged"
SLAPR_EMOJI_CLOSED: "closed"

0 comments on commit 3e82c29

Please sign in to comment.