mirror of
https://github.com/Kong/kong.git
synced 2026-03-27 05:22:03 +00:00
Kong/action-slack-notify to v2_node20 Kong/public-shared-actions/security-actions/scan-docker-image to v4.0.1 KAG-6149
17 lines
672 B
YAML
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 }}>"
|