mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-06 00:58:16 +00:00
793e0e1413
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
on:
|
|
push:
|
|
paths-ignore:
|
|
- docs/**
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: write
|
|
checks: write
|
|
actions: read
|
|
packages: write
|
|
pull-requests: write
|
|
|
|
name: Generate Changelog
|
|
jobs:
|
|
generate-changelog:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: google-github-actions/release-please-action@v4
|
|
id: release-please
|
|
with:
|
|
release-type: simple
|
|
package-name: release-please-action
|
|
- name: Install MarkdownToBBCodeSteam
|
|
run: dotnet tool install -g Converter.MarkdownToBBCodeSteam.Tool
|
|
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-SHORT.md" -o "CHANGELOG-BBCODE.txt";
|
|
shell: pwsh
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v7
|
|
with:
|
|
commit-message: "chore(main): Update Steam BBCode Changelog"
|
|
branch: steam-changelog
|
|
title: "chore(main): Update Steam BBCode Changelog"
|
|
body: |
|
|
:robot: I have updated the Steam game mode changelog *beep* *boop*
|
|
delete-branch: true
|
|
signoff: false
|
|
add-paths: |
|
|
CHANGELOG-BBCODE.txt
|
|
CHANGELOG-SHORT.md
|