-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (31 loc) · 1004 Bytes
/
changelog-info.yml
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
36
37
38
---
# .github/workflows/auto-author-assign.yml
name: Peek At Changelog Info
# yamllint disable-line rule:truthy
on:
- pull_request
jobs:
changelog-peek:
name: Changeset Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Get Change Info
uses: chizmw/[email protected]
id: get-changelog-entry
- name: Show Change Info
shell: bash
# yamllint disable rule:line-length
run: |
cat <<'EOInfo' >> $GITHUB_STEP_SUMMARY
## Last Change Entry
```markdown
${{ steps.get-changelog-entry.outputs.last-change-entry }}
```
- Version: ${{ steps.get-changelog-entry.outputs.last-change-version }}
- Version V: ${{ steps.get-changelog-entry.outputs.last-change-version-v }}
EOInfo
- name: Fail If Empty
if: steps.get-changelog-entry.outputs.last-change-entry == ''
run: exit