MWPW-148227: added newsroom/news to caas-config #20
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
name: High Impact Alert | |
on: | |
pull_request: | |
types: | |
- labeled | |
env: | |
SLACK_HIGH_IMPACT_PR_WEBHOOK: ${{ secrets.SLACK_HIGH_IMPACT_PR_WEBHOOK }} | |
jobs: | |
send_alert: | |
if: github.repository_owner == 'adobecom' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Send Slack message for high impact PRs | |
uses: actions/[email protected] | |
with: | |
script: | | |
const main = require('./.github/workflows/high-impact-alert.js') | |
main({ github, context }) |