Skip to content

Commit

Permalink
Merge branch 'master' into PWX-32539-add-def-metadata-drive-vsphere
Browse files Browse the repository at this point in the history
  • Loading branch information
jrivera-px committed Jul 27, 2023
2 parents 241d850 + 8ef330f commit 70f9a95
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/on-pr-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Message Slack for stale PRs
on:
pull_request:
types: [labeled]
jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'stage/in-review-stale')
runs-on: ubuntu-latest
steps:
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/slack-github-action@v1.23.0
with:
payload: |
{
"pr_name": "${{ github.event.pull_request.title }}",
"pr_link": "${{ github.event.pull_request.html_url }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_STALE_PR }}

0 comments on commit 70f9a95

Please sign in to comment.