Files
MagicMirror/.github/workflows/release-notes.yaml
Kristjan ESPERANTO 56fe067afa chore: migrate CI workflows to ubuntu-slim for faster startup times (#4007)
*This type of runner is optimized for automation tasks, issue operations
and short-running jobs. They are not suitable for typical heavyweight
CI/CD builds.*
[[1](https://docs.github.com/en/actions/reference/runners/github-hosted-runners#single-cpu-runners)].

We are not necessarily dependent on faster startups, but that seems to
be becoming the best practice now.
2026-01-07 23:18:24 +01:00

34 lines
753 B
YAML

# This workflow writes a draft release on GitHub named `unreleased` after every push on develop
name: "Create Release Notes"
on:
push:
branches: [develop]
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release-notes:
runs-on: ubuntu-slim
timeout-minutes: 15
steps:
- name: "Checkout code"
uses: actions/checkout@v6
with:
fetch-depth: "0"
- name: "Use Node.js"
uses: actions/setup-node@v6
with:
node-version: lts/*
cache: "npm"
- name: "Create Markdown content"
run: |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
node js/releasenotes.js