run sqlserver tests on ubuntu 20.04 #46470
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/DataDog/slapr | |
name: Slack emoji PR updates | |
on: | |
pull_request_review: | |
types: [submitted] | |
pull_request: | |
types: [closed] | |
jobs: | |
run_slapr_agent_integrations: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
slack_channel_variable: | |
- SLACK_CHANNEL_ID | |
- SLACK_CHANNEL_ID_AGENT_INTEGRATIONS_REVIEWS | |
- SLACK_CHANNEL_ID_INFRA_INTEGRATIONS | |
steps: | |
- uses: DataDog/slapr@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
SLACK_CHANNEL_ID: "${{ secrets[matrix.slack_channel_variable] }}" | |
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" |