forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (32 loc) · 1.06 KB
/
review-release-notes.yml
File metadata and controls
33 lines (32 loc) · 1.06 KB
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
name: Review Release Notes
on: pull_request
jobs:
release_notes_review:
runs-on: ubuntu-latest
if: github.repository == 'demisto/content' && github.event.pull_request.head.repo.fork == false
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35.5.1
with:
separator: ';'
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Setup Poetry
uses: Gr1N/setup-poetry@v7
- name: Install Python Dependencies
run: |
poetry install --with ci
- name: Review Release Notes
run: |
changed_files="${{ steps.changed-files.outputs.all_changed_files }}"
delim=';'
echo "Starting docs review"
poetry run python Utils/github_workflow_scripts/run_docs_review.py --changed_files "$changed_files" --delimiter $delim
echo "Finished docs review successfully"