|
9 | 9 | build:
|
10 | 10 | runs-on: ubuntu-latest
|
11 | 11 | steps:
|
12 |
| - |
13 |
| - with: |
14 |
| - fetch-depth: 0 |
| 12 | + |
| 13 | + with: |
| 14 | + fetch-depth: 0 |
15 | 15 |
|
16 |
| - - name: Create output file |
17 |
| - run: touch changelog_comment.md |
| 16 | + - name: Create output file |
| 17 | + run: touch changelog_comment.md |
18 | 18 |
|
19 |
| - - name: Get changed changelog files |
20 |
| - id: changed-files |
21 |
| - uses: tj-actions/[email protected] |
22 |
| - with: |
23 |
| - files_ignore: | |
24 |
| - buildSrc/** |
25 |
| - files: | |
26 |
| - **/CHANGELOG.md |
| 19 | + - name: Get changed changelog files |
| 20 | + id: changed-files |
| 21 | + uses: tj-actions/[email protected] |
| 22 | + with: |
| 23 | + files_ignore: | |
| 24 | + plugins/** |
| 25 | + files: | |
| 26 | + **/CHANGELOG.md |
27 | 27 |
|
28 |
| - - name: Set up JDK 17 |
29 |
| - |
30 |
| - with: |
31 |
| - java-version: 17 |
32 |
| - distribution: temurin |
33 |
| - cache: gradle |
| 28 | + - name: Set up JDK 17 |
| 29 | + |
| 30 | + with: |
| 31 | + java-version: 17 |
| 32 | + distribution: temurin |
| 33 | + cache: gradle |
34 | 34 |
|
35 |
| - - name: Set up Python 3.10 |
36 |
| - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 |
37 |
| - if: ${{ steps.changed-files.outputs.any_changed == 'true' }} |
38 |
| - with: |
39 |
| - python-version: '3.10' |
| 35 | + - name: Set up Python 3.10 |
| 36 | + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 |
| 37 | + if: ${{ steps.changed-files.outputs.any_changed == 'true' }} |
| 38 | + with: |
| 39 | + python-version: '3.10' |
40 | 40 |
|
41 |
| - - name: Set up fireci |
42 |
| - id: install-fireci |
43 |
| - if: ${{ steps.changed-files.outputs.any_changed == 'true' }} |
44 |
| - run: pip3 install -e ci/fireci |
| 41 | + - name: Set up fireci |
| 42 | + id: install-fireci |
| 43 | + if: ${{ steps.changed-files.outputs.any_changed == 'true' }} |
| 44 | + run: pip3 install -e ci/fireci |
45 | 45 |
|
46 |
| - - name: Generate comment |
47 |
| - id: generate-comment |
48 |
| - if: ${{ steps.install-fireci.outcome == 'success' }} |
49 |
| - run: | |
50 |
| - fireci changelog_comment -c "${{ steps.changed-files.outputs.all_changed_files }}" -o ./changelog_comment.md |
| 46 | + - name: Generate comment |
| 47 | + id: generate-comment |
| 48 | + if: ${{ steps.install-fireci.outcome == 'success' }} |
| 49 | + run: | |
| 50 | + fireci changelog_comment -c "${{ steps.changed-files.outputs.all_changed_files }}" -o ./changelog_comment.md |
51 | 51 |
|
52 |
| - - name: Add PR Comment |
53 |
| - |
54 |
| - continue-on-error: true |
55 |
| - with: |
56 |
| - status: ${{ steps.generate-comment.outcome }} |
57 |
| - message-path: ./changelog_comment.md |
58 |
| - message-skipped: | |
59 |
| - ## Release note changes |
60 |
| - No release note changes were detected. If you made changes that should be |
61 |
| - present in the next release, ensure you've added an entry in the appropriate |
62 |
| - `CHANGELOG.md` file(s). |
63 |
| - message-failure: | |
64 |
| - ## Release note changes |
65 |
| - A `CHANGELOG.md` file seems to not match the expected format. |
66 |
| - Please ensure your changelog files are following the format as |
67 |
| - defined in [our documentation](#). |
| 52 | + - name: Add PR Comment |
| 53 | + |
| 54 | + continue-on-error: true |
| 55 | + with: |
| 56 | + status: ${{ steps.generate-comment.outcome }} |
| 57 | + message-path: ./changelog_comment.md |
| 58 | + message-skipped: | |
| 59 | + ## Release note changes |
| 60 | + No release note changes were detected. If you made changes that should be |
| 61 | + present in the next release, ensure you've added an entry in the appropriate |
| 62 | + `CHANGELOG.md` file(s). |
| 63 | + message-failure: | |
| 64 | + ## Release note changes |
| 65 | + A `CHANGELOG.md` file seems to not match the expected format. |
| 66 | + Please ensure your changelog files are following the format as |
| 67 | + defined in [our documentation](#). |
0 commit comments