mirror of
https://github.com/MagicMirrorOrg/MagicMirror.git
synced 2026-03-12 17:51:41 +08:00
*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.
34 lines
753 B
YAML
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
|