Skip to content

Commit

Permalink
chore(ci): Generate a shortened changelog and use that to generate th…
Browse files Browse the repository at this point in the history
…e Steam BBCode changelog
  • Loading branch information
KyleGospo committed Mar 2, 2024
1 parent 268213e commit a61bba1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ jobs:
shell: pwsh
- name: Checkout Repository
uses: actions/checkout@v4
- name: Shorten Changelog
run : |
awk '/^## / {count++} count <= 2 {print;}' CHANGELOG.md > CHANGELOG_SHORT.md
- name: Create BB Code Changelog for Steam
run: |
markdown_to_bbcodesteam -i "CHANGELOG.md" -o "CHANGELOG-BBCODE.txt";
markdown_to_bbcodesteam -i "CHANGELOG-SHORT.md" -o "CHANGELOG-BBCODE.txt";
shell: pwsh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand All @@ -41,3 +44,4 @@ jobs:
signoff: false
add-paths: |
CHANGELOG-BBCODE.txt
CHANGELOG-SHORT.md

0 comments on commit a61bba1

Please sign in to comment.