-
Notifications
You must be signed in to change notification settings - Fork 58
35 lines (31 loc) · 1.27 KB
/
tag-docs-team.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
on:
pull_request: {}
jobs:
notify-teams:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
with:
files_yaml: |
enterprise:
- ix-dev/enterprise/**
stable:
- ix-dev/stable/**
test:
- ix-dev/test/**
- name: Comment PR
uses: thollander/actions-comment-pull-request@v3
with:
comment-tag: docs-team-comment
message: |
${{ steps.changed-files.outputs.enterprise_added_files != '' && 'added enterprise @stavros-k' || '' }}
${{ steps.changed-files.outputs.stable_added_files != '' && 'added stable @stavros-k' || '' }}
${{ steps.changed-files.outputs.test_added_files != '' && 'added test @stavros-k' || '' }}
${{ steps.changed-files.outputs.enterprise_all_modified_files != '' && 'changed enterprise @stavros-k' || '' }}
${{ steps.changed-files.outputs.stable_all_modified_files != '' && 'chagned stable @stavros-k' || '' }}
${{ steps.changed-files.outputs.test_all_modified_files != '' && 'changed test @stavros-k' || '' }}