Skip to content

Commit

Permalink
chore: add changelog peek action
Browse files Browse the repository at this point in the history
  • Loading branch information
chizmw committed Aug 27, 2023
1 parent d6fd0a2 commit 96af5ec
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/changelog-info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
# .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@v3

- name: Get Change Info
uses: chizovation/[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 }}
```
EOInfo
- name: Fail If Empty
if: steps.get-changelog-entry.outputs.last-change-entry == ''
run: exit

0 comments on commit 96af5ec

Please sign in to comment.