1
0
mirror of synced 2026-01-04 09:04:47 -05:00
Files
airbyte/.github/workflows/notify-on-label.yml
2022-11-10 16:01:35 +02:00

31 lines
974 B
YAML

# Notify users/teams when labels are added to an issue.
name: Notify FE team for FE label on issues
on:
issues:
types: [labeled]
jobs:
notify:
name: "Notify FE team on label creation"
runs-on: ubuntu-latest
steps:
- name: Checkout Airbyte Repo for PAT command
uses: actions/checkout@v3
- name: Check PAT rate limits
# Cannot share PAT outside of JOB context
run: |
./tools/bin/find_non_rate_limited_PAT \
${{ secrets.OCTAVIA_4_ROOT_ACCESS }} \
${{ secrets.OCTAVIA_PAT }}
# Updated name to reflect reality. Update name if you change recipients
- name: Notify FE team when on FE label creation
uses: jenschelkopf/issue-label-notification-action@1.3
with:
token: "${{ env.PAT }}"
message: "cc {recipients}"
# Specify a map of label -> team/user to notify
recipients: |
team/frontend=@airbytehq/frontend