chore(workflows): label-schema to include pr title in the footer of the slack message #16755
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: Pull Request Schema Labeler | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, labeled, unlabeled] | |
jobs: | |
schema-change-labels: | |
if: "${{ contains(github.event.*.labels.*.name, 'schema-change-noteworthy') }}" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Schema change label found | |
uses: rtCamp/action-slack-notify@v2 | |
continue-on-error: true | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_SCHEMA_CHANGE }} | |
SLACK_FOOTER: ${{ github.event.pull_request.title }} |