Files
Niklaus Schen e5f959d6ba chore(ci): bump action-slack-notify and public-shared-actions (#14181)
Kong/action-slack-notify to v2_node20
Kong/public-shared-actions/security-actions/scan-docker-image to v4.0.1

KAG-6149
2025-01-17 15:10:10 +08:00

17 lines
672 B
YAML

name: Pull Request Schema Labeler
on:
pull_request:
types: [opened, edited, 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: Kong/action-slack-notify@bd750854aaf93c5c6f69799bf813c40e7786368a # v2_node20
continue-on-error: true
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_SCHEMA_CHANGE }}
SLACK_MESSAGE: ${{ github.event.pull_request.title }}
SLACK_FOOTER: "<${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.pull_request.number }}>"