Skip to content

Collect Release Notes #4

Collect Release Notes

Collect Release Notes #4

Workflow file for this run

name: Collect Release Notes
on:
workflow_dispatch
env:
MINORS: "v1.25 v1.26 v1.27 v1.28"
permissions:
contents: write
pull-requests: write
jobs:
collect-all:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Remove old release notes
run: |
for minor in $MINORS; do
rm docs/release-notes/$minor*.md
done
- name: Generate release notes
run: scripts/collect-all-release-notes.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: update release-notes/k3s-*.md
title: Update Release Notes
body: Automated release notes update
branch: update-release-notes