-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Release 2.35.0 #4072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Release 2.35.0 #4072
Changes from 250 commits
Commits
Show all changes
397 commits
Select commit
Hold shift + click to select a range
15baffd
Adapt to "Keep a Changelog" (#3634)
KristjanESPERANTO bd1324c
Remove `@eslint/js` dependency. Already installed with `eslint` in de…
bugsounet 3627beb
Bump stylelint from 16.10.0 to 16.11.0 (#3639)
dependabot[bot] f417bc0
Bump prettier from 3.3.3 to 3.4.1 (#3638)
dependabot[bot] 28341d4
Bump eslint-plugin-package-json from 0.15.4 to 0.17.0 (#3637)
dependabot[bot] 8d61336
Bump @fortawesome/fontawesome-free from 6.6.0 to 6.7.1 in /vendor (#3…
dependabot[bot] 07768c3
Reactivate eslint-plugin-package-json (#3643)
KristjanESPERANTO 63178eb
Export animations (#3644)
sdetweil 291ae85
Handle "module is not defined" in e2e tests (#3647)
KristjanESPERANTO 19bd76a
Fixcaldates2 fix calendar module date processing, using node-ical@0.…
sdetweil 5b7b76c
Add linting for markdown files (#3646)
KristjanESPERANTO 76fac78
Run code style checks in workflow only once (#3648)
KristjanESPERANTO 39ab651
Show animations, fix export only on server side (#3649)
sdetweil 5232f46
fix #3267 again this time, dropped from big cal update (#3650)
sdetweil 5b3b40d
Use project URL in fallback config (#3656)
KristjanESPERANTO 786eacf
update config.js.sample about locale variable (#3655)
sdetweil 24d9b70
fix access denied fault error writing js/positions.js (#3652)
sdetweil b910c60
update dependencies (#3657)
khassel c485ff6
path resolve and sub/sub folder module (#3653)
bugsounet 0b3a04c
Switch to 'npx' for lint-staged in pre-commit hook (#3658)
KristjanESPERANTO 2fb5143
delete exception `allow-ghsas: GHSA-8hc4-vh64-cxmj` in `dep-review.ya…
bugsounet 6a09bc4
add support for fetch timeout control for node_helpers, fix timeouts …
sdetweil 9d0501f
Fix: package-lock.json after PR #3660 (#3661)
bugsounet 93a0c24
fix #3662 line parse on windows with linux line ends (#3663)
sdetweil d41ce81
update dependencies, fix typo in Collaboration.md (#3664)
khassel 143dfd6
Add some ESLint rules + minor changes (#3665)
KristjanESPERANTO c92fbb8
Final dependency updates for v2.30 (#3671)
rejas 9be625c
ready for release 2.30.0 (#3672)
sdetweil 6f50a7b
Release 2.31.0 (#3674)
sdetweil 75dbe67
Fix calendar clipping before broadcast (#3679)
sdetweil 0f6efac
clientonly and wayland, hotfix electron tests (#3677)
khassel 8fdd865
electron tests: fixes for running under new github image ubuntu-24.04…
khassel 5e337f8
fix #3267, CORRECTLY, add testcase, add testcase for #3279 (#3681)
sdetweil b1bc554
Update year (#3686)
KristjanESPERANTO 553d2d4
electron tests (#3684)
khassel a7f814d
Optimize systeminformation calls and output string (#3689)
KristjanESPERANTO 99dda82
Fix unknown (n/a) icon in openmeteo provider (#3691)
rejas 2400e20
update dependencies and formatting (#3693)
khassel 6e40c44
fix wrong port in log message when starting server only (#3697)
khassel 77fe011
Use different issue templates (#3695)
KristjanESPERANTO 53ac31d
Adapt `start:x11:dev` script (#3700)
KristjanESPERANTO af77b7b
fix #3701, calculation wrong, added testcase, ics, config (#3702)
sdetweil d6f2e71
Fix frozen Yr weather-module (#3706)
MagMar94 f34c8f2
update github workflows (#3709)
khassel e00a666
chore: update newsfeed.js (#3692)
eltociear aa20ead
Monthly update to dependencies (#3717)
rejas 62c22d7
Arabic Translation (#3719)
Developer-Incoming 28bcee7
Update ESLint and simplify config (#3724)
KristjanESPERANTO 4a398f0
Fix empty part-of-day logic (#3726)
rejas 66b8656
Fix icons, add hourly support, add other weatherflow changes (#3729)
n8many 1fcc028
update dependencies incl. electron to v35 (#3733)
khassel 2adf341
Add Esperanto translation (#3740)
KristjanESPERANTO 0afc1ed
Updated Greek Translations (#3741)
mixasgr 51d11bf
add support for digital clock time color (#3737)
sdetweil 0cfe273
newsfeed: add specific ignoreOlderThan value (override) per feed (#3742)
khassel 68ec696
Update ESLint and prettier (#3746)
KristjanESPERANTO 46d64ab
update required node version and dependencies (#3747)
khassel 791f771
fix stale job (#3751)
khassel 2ddb785
Fix command to run spellcheck (#3753)
KristjanESPERANTO 6d909d2
[weather] add humidity to hourly view, fix spacing error when using U…
OWL4C 2e57d78
update dependencies (#3754)
khassel e546fed
updatenotification: add param to get modules from modules-dir instead…
khassel f80b1f1
Update deps before release (#3756)
rejas 01fd41c
Prepare 2.31.0 release (#3757)
rejas a2c1daa
Merge branch 'mm_master' into mm_develop
7938c3a
Merge branch 'mm_master' into mm_develop
86934c8
Prepare v2.32.0-develop
e1a53ef
[refactor] Simplify module loading process (#3766)
KristjanESPERANTO ff66829
[feature] Introduce disableNextEvent to hide next sun event (#3769)
bughaver b9d63d7
Use "node --run" instead of "npm run" (#3764)
KristjanESPERANTO a5b85c4
[workflow] Use LTS node version and split "Run test" step (#3767)
KristjanESPERANTO 7b4d363
[fix] Fix `start:dev` script (#3773)
KristjanESPERANTO 2831ae9
[Feature Request] Allow to make an display order of module position i…
bugsounet 53bff72
update dependencies (#3774)
khassel ed419ce
Bump pm2 from 5.4.3 to 6.0.5 (#3776)
dependabot[bot] 2422e84
Fix calendar rrule until where event is fullday but rrule until has a…
sdetweil 965e935
[linter] Review linter setup (#3783)
KristjanESPERANTO 554bb0e
[feat] Add rule `no-undef` in config file validation (#3786)
KristjanESPERANTO 2f9f4b6
[feature] implement short syntax for clock week (#3775)
bughaver d179051
fix `roboto.css` to avoid error message (#3787)
khassel d07912d
update dependencies incl. electron to v36 (#3788)
khassel 4e3821c
[workflow] Replace Node.js version v23 with v24 (#3770)
KristjanESPERANTO 85b4ece
[refactor] Replace deprecated constants (#3789)
KristjanESPERANTO e26aed9
[refactor] Replace `ansis` with built-in function `util.styleText` (#…
KristjanESPERANTO c8625ff
simplify install and maintaining dependencies (#3795)
khassel 975ee9c
update dependencies (#3804)
khassel 302b24c
[l10n] Complete translations (#3794)
KristjanESPERANTO 052ec1c
remove existing folders fonts and vendor from local installations (#3…
khassel faf15ad
Refactored calendarfetcherutils to fix many of the timezone and DST r…
plebcity 2194ffd
[tests] Fix and refactor e2e test "Same keys" in "translations_spec.j…
KristjanESPERANTO 6501aab
[linter] Enable ESLint rule `no-console` (#3810)
KristjanESPERANTO ee87483
update deps and fix animateCSS_spec test (#3811)
khassel 9a3f4f0
Update package type to `commonjs` (#3814)
bugsounet c7c0e67
review logger factory code part: use switch/case (#3812)
bugsounet 2809ed1
[tests] Review and refactor translation tests (#3792)
KristjanESPERANTO d2d4d7b
update jest to v30 (#3815)
khassel 1e11d28
fixes e2e tests (#3817)
khassel 5e506ea
last dependency update before release (#3823)
khassel 2680972
Prepare Release 2.32.0 (#3825)
khassel b506bbb
Merge remote-tracking branch 'origin/master' into develop
khassel 106b505
Prepare 2.33.0-develop
khassel 855b1d7
update dependencies incl. electron to v37, remove one failing unit te…
khassel 3a2a52c
Add CSS to clock module to prevent line breaking of sunrise/sunset in…
dathbe d9e2e02
Fix calendar unit test so it uses 1 day more than a full year for yea…
plebcity e4ec8c3
Fix missing icons in clock module (#3834)
rejas e115475
feat: enhance system information logging format and include additiona…
KristjanESPERANTO a05eb23
refactor default modules: move scheduleTimer to one place (#3837)
khassel 931fe55
refactor: optimize system information logging (#3843)
KristjanESPERANTO 7f8935a
refactor: simplify jest config (#3844)
KristjanESPERANTO 02e76da
refactor: extract constants for weather electron tests (#3845)
KristjanESPERANTO 54752f1
replace `console` with `Log` in calendar `debug.js` (#3846)
khassel e7b669a
e2e: decrease stop app waitTime (#3847)
khassel 3fa2b96
cleanup and try to stabilize weather e2e tests (#3848)
khassel e34ef0c
update dependencies (#3849)
khassel 839d074
Update dependencies (#3857)
rejas 0ca7d23
update github actions (#3858)
rejas 1b31cf1
Thoroughly check for precipitationAmount values in weathergov provide…
rejas 83d15aa
tests: add `setupDOMEnvironment` helper function to eliminate repetit…
KristjanESPERANTO 76da0aa
Make `User-Agent` configurable (#3255)
m-idler 787fbda
tests: update jest snapshot url (#3861)
khassel 483d3cd
Fix limitdays regression (#3863)
sdetweil 3387bf8
fix regression #3841 (#3865)
sdetweil eb71942
fix for #3380, socket.io timeout closure (#3862)
sdetweil 4c0a468
[tests] refactor translation tests (#3866)
KristjanESPERANTO fad8bba
test: add alert module tests for different `welcome_message` configur…
KristjanESPERANTO f8679b6
[weather] use 'apparent_temperature' in openmeteos data for feelsLike…
rejas 25efe42
Update feels_like temperature formula (#3869)
rejas 6f4eab9
[core] bump dependencies into september (#3872)
rejas 93d5df8
update electron to v38 (#3876)
khassel be957af
bump minimal node version to v22.18.0 (#3877)
khassel d277a27
Bump github actions and dependencies (#3882)
rejas 31bafc3
update default icon for calendars (#3879)
rejas b1865d8
refactor: use global.root_path instead relative paths (#3883)
khassel 2481bc6
revert changes breaking `node --run config:check` (#3885)
khassel 3260b9d
add test for config:check (#3886)
khassel 08d29c3
Add Prettier plugin for Nunjuck templates (#3887)
rejas d81386f
chore: use `prettier --write --ignore-unknown` in `lint-staged` to av…
KristjanESPERANTO aac85bb
improve config check tests (#3889)
khassel fb2aa43
feat: add clear log for occupied port at startup (#3890)
KristjanESPERANTO 777b49c
chore: update dependencies (#3891)
KristjanESPERANTO a49fbed
[weather] better null value handling for weather type (#3892)
rejas e886821
Fix for envcanada Provider to use new Environment Canada weather data…
Crazylegstoo fbca0a0
[layout] update styles for weather and calendar (#3894)
rejas 1f2d1b9
update jsdoc and other deps (#3896)
khassel 593a4b9
Prepare Release 2.33.0 (#3902)
KristjanESPERANTO b1a189b
Prepare 2.34.0-develop
KristjanESPERANTO 787cc6b
refactor: replace `module-alias` dependency with internal alias resol…
KristjanESPERANTO b09a27a
chore: bump dependencies into october (#3909)
rejas 5f1f5bd
feat: add ESlint rule `no-sparse-arrays` for config check (#3911)
KristjanESPERANTO d39e686
remove eslint warnings, add npm publish process to Collaboration.md (…
khassel 9ff716f
update deps, exclude node v23 (#3916)
khassel 37d1a3a
refactor: replace `express-ipfilter` with lightweight custom middlewa…
KristjanESPERANTO 96d3e87
[weather] feat: add configurable forecast date format option (#3918)
KristjanESPERANTO 2a4a056
Fix for envcanada Provider to use updated Env Canada URL (#3919)
Crazylegstoo 64f78ea
chore: update dependencies (#3921)
KristjanESPERANTO f1c0c38
[core] Update deps and pin jsdom to v27.0.0 (#3925)
rejas a1c1e95
[logger] Add prefixes to most Log messages (#3923)
rejas bc0d365
logger: add calling filename as prefix on server side (#3926)
khassel c9eecdd
[calendar] test: remove "Recurring event per timezone" test (#3929)
KristjanESPERANTO 9ad5618
[check_config] refactor: improve error handling (#3927)
KristjanESPERANTO 2e795f6
[calendar] chore: remove `requiresVersion: "2.1.0"` (#3932)
KristjanESPERANTO 961b3c9
feat(core): add `server:watch` script with automatic restart on file …
jboucly 1e5d127
fixes problems with daylight-saving-time in weather provider `openmet…
khassel b542f33
Update deps, unpin parse5 (#3934)
rejas 462abf7
[tests] migrate from `jest` to `vitest` (#3940)
KristjanESPERANTO d7348ed
[tests] suppress debug logs in CI environment + improve calendar symb…
KristjanESPERANTO 67fead7
[ci] Add concurrency to automated tests workflow to cancel outdated r…
KristjanESPERANTO 9d713ff
[test] replace `node-libgpiod` with `serialport` in electron-rebuild …
KristjanESPERANTO 034f3c4
[newsfeed] fix header layout issue (#3946)
rejas ab5f79a
remove deprecated ukmetoffice datapoint provider, cleanup .gitignore …
khassel 3b79791
[calendar] Show `repeatingCountTitle` only if `yearDiff` > 0 (#3949)
jarnoml c1aaea5
[weather] add error handling to weather fetch functions, including co…
sdetweil 8e9ee89
[gitignore] restoring the old Git behavior for the CSS directory (#3954)
KristjanESPERANTO 2b08288
[core] configure cspell to check default modules only and fix typos (…
KristjanESPERANTO f29f424
[core] refactor: replace `XMLHttpRequest` with `fetch` and migrate e2…
KristjanESPERANTO 38a4d23
[weather] fix wind-icon not showing in pirateweather (#3957)
rejas 53df20f
[weatherprovider] update subclass language use override (#3914)
JHWelch 3c4d69e
[calendar] refactor: migrate CalendarFetcher to ES6 class and improve…
KristjanESPERANTO 1796400
Add new pt and pt-BR translations for Alert module and update global …
Blackspirits a52baa5
[compliments] fix: duplicate query param "?" in compliments module re…
xsorifc28 854c954
[gitignore] restore the old Git behavior for the default modules (#3968)
KristjanESPERANTO 74b682f
fix: set compliments remote file minimum delay to 15 minutes (#3970)
xsorifc28 7934e7a
[compliments] refactor: optimize `loadComplimentFile` method and add …
KristjanESPERANTO a0f1a2c
Bump actions/checkout from 5 to 6 (#3972)
dependabot[bot] ca6e8b2
[core] chore: simplify Wayland start script (#3974)
KristjanESPERANTO fdac92d
[core] bump dependencies into december (#3982)
rejas c2ec6fc
[calendar] fix: prevent excessive fetching on client reload and refac…
KristjanESPERANTO 4186cbf
[core] auto create release notes with every push on develop (#3985)
khassel e7ad361
[chore] update dependencies and min. node version (#3986)
khassel 1998b62
testing: update "Enforce Pull-Request Rules" workflow (#3987)
khassel c64d3ef
[core] fix: restore `--ozone-platform=wayland` flag for reliable Wayl…
KristjanESPERANTO 9c25b15
add checksum to test whether calendar event list changed (#3988)
sdetweil 9d3b07d
[core] fix: allow browser globals in config files (#3992)
KristjanESPERANTO 4962078
demo with gif (#3995)
khassel 0fb6fcb
dependency update + adjust Playwright setup + fix linter issue (#3994)
khassel d5d1441
Prepare Release 2.34.0 (#3998)
sdetweil a4f29f7
Merge branch 'master' into develop
khassel 950f551
set next release dev number (#4000)
sdetweil 241921b
[core] run systeminformation in subprocess so the info is always disp…
khassel 40301f2
fix(calendar): correct day-of-week for full-day recurring events acro…
KristjanESPERANTO 9731ea2
refactor: unify favicon for index.html and Electron (#4006)
KristjanESPERANTO 56fe067
chore: migrate CI workflows to ubuntu-slim for faster startup times (…
KristjanESPERANTO b847dd7
update Collaboration.md and dependencies (#4001)
khassel 8e6701f
Update deps as requested by dependabot (#4008)
rejas 471dbd8
Change default start scripts from X11 to Wayland (#4011)
KristjanESPERANTO 3b793bf
Update node-ical and support it's rrule-temporal changes (#4010)
KristjanESPERANTO 82e39a2
fix systeminformation not displaying electron version (#4012)
khassel 2d3a557
fix(calendar): update to node-ical 0.23.1 and fix full-day recurrence…
KristjanESPERANTO 37a8b11
chore(eslint): migrate from eslint-plugin-vitest to @vitest/eslint-pl…
KristjanESPERANTO 23f0290
Switch to undici Agent for HTTPS requests (#4015)
in-voker 34913bf
[core] refactor: extract and centralize HTTP fetcher (#4016)
KristjanESPERANTO 5e0cd28
update electron to v40, update node versions in workflows (#4018)
khassel d44db6e
move default modules from /modules/default to /defaultmodules (#4019)
khassel 43503e8
chore: update dependencies (#4021)
KristjanESPERANTO 6324ec2
move custom.css from css to config (#4020)
khassel 2b55b8e
refactor(clientonly): modernize code structure and add comprehensive …
KristjanESPERANTO 5c1cc47
[newsfeed] refactor: migrate to centralized HTTPFetcher (#4023)
KristjanESPERANTO 751c83b
Update node-ical and other deps (#4025)
rejas 4311034
Add dark theme logo (#4026)
JHWelch f6d559e
remove kioskmode (#4027)
khassel f9f3461
calendar.js: remove useless hasCalendarURL function (#4028)
khassel 9dd964e
change loading config.js, allow variables in config.js and try to pro…
khassel b9481d2
fix: correct secret redaction and optimize loadConfig (#4031)
khassel 172ca18
fix cors proxy getting binary data (e.g. png, webp) (#4030)
khassel 1dc3032
allow environment variables in cors urls (#4033)
khassel 6cb3e24
replace template_spec test with config_variables test (#4034)
khassel 80c4879
[weather] feat: add Weather API Provider (#4036)
angeldeejay 8ce0cda
[weather] refactor: migrate to server-side providers with centralized…
KristjanESPERANTO 729f7f0
[core] refactor: enable ESLint rule require-await and handle detected…
KristjanESPERANTO df8a882
fix(newsfeed): fix full article view and add framing check (#4039)
KristjanESPERANTO 083953f
chore: update dependencies + add exports, files, and sideEffects fiel…
KristjanESPERANTO 587bc25
chore: remove obsolete Jest config and unit test global setup (#4044)
KristjanESPERANTO 06b1361
Use getDateString in openmeteo (#4046)
rejas ab3108f
[calendar] refactor: delegate event expansion to node-ical's expandRe…
KristjanESPERANTO 3eb3745
Fix Node.js v25 logging prefix and modernize logger (#4049)
KristjanESPERANTO e7503a4
refactor: further logger clean-up (#4050)
KristjanESPERANTO cb61aeb
chore: update ESLint and plugins, simplify config, apply new rules (#…
KristjanESPERANTO 35cd4d8
weather: add possibility to override njk's and css (#4051)
khassel 0ca91f7
weather: fixes for templates (#4054)
khassel 9fe7d1e
test(calendar): fix hardcoded date in event shape test (#4055)
KristjanESPERANTO 21d1e74
refactor: simplify internal `require()` calls (#4056)
KristjanESPERANTO 3ea3f0a
chore: upgrade ESLint to v10 and fix newly surfaced issues (#4057)
KristjanESPERANTO d072345
update dependencies incl. electron to v41 (#4058)
khassel e1c44a8
fix(calendar): make showEnd behavior more consistent across time form…
KristjanESPERANTO ee26193
fix(weather): fix weathergov forecast day labels off by one (#4065)
KristjanESPERANTO de78190
fix(weather): fix openmeteo forecast stuck in the past (#4064)
KristjanESPERANTO 51f6927
update dependencies (#4068)
khassel 946d322
docs: add security policy and vulnerability reporting guidelines (#4069)
KristjanESPERANTO 9eaef41
Prepare Release 2.35.0 (#4071)
khassel b6f2876
Merge branch 'master' into develop
khassel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Security Policy | ||
|
|
||
| ## Scope and Deployment | ||
|
|
||
| MagicMirror is primarily intended for trusted local/private network environments. | ||
| Direct public exposure to the internet or other untrusted networks is not recommended. | ||
|
|
||
| We take security seriously and encourage responsible disclosure of vulnerabilities to help us improve the software. | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| **Please keep vulnerability details private** — do not post them in public GitHub issues. | ||
|
|
||
| Instead, reach out privately via the MagicMirror forum to one of the core developers: | ||
|
|
||
| - [rejas](https://forum.magicmirror.builders/user/rejas) | ||
| - [karsten13](https://forum.magicmirror.builders/user/karsten13) | ||
| - [sdetweil](https://forum.magicmirror.builders/user/sdetweil) | ||
| - [Kristjan](https://forum.magicmirror.builders/user/kristjanesperanto) | ||
|
|
||
| Please include, if possible: | ||
|
|
||
| - Affected version(s) | ||
| - Reproduction steps or proof-of-concept | ||
| - What could an attacker do with this? | ||
| - Any ideas how to fix it? | ||
|
|
||
| ## Coordinated Disclosure | ||
|
|
||
| We will keep reported vulnerabilities private until a fix is available and coordinate the disclosure timeline with you. | ||
| We aim to respond as quickly as possible. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,26 @@ | ||
| # This workflow enforces on every pull request: | ||
| # - the update of our CHANGELOG.md file, see: https://github.com/dangoslen/changelog-enforcer | ||
| # - that the PR is not based against master, taken from https://github.com/oppia/oppia-android/pull/2832/files | ||
| # This workflow enforces on every pull request that the PR is not based against master, | ||
| # taken from https://github.com/oppia/oppia-android/blob/develop/.github/workflows/static_checks.yml | ||
|
|
||
| name: "Enforce Pull-Request Rules" | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
| pull_request: | ||
| push: | ||
| branches-ignore: | ||
| - develop | ||
| - master | ||
|
|
||
| jobs: | ||
| check: | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-slim | ||
| if: github.event_name == 'pull_request' | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - name: "Enforce changelog" | ||
| uses: dangoslen/changelog-enforcer@v3 | ||
| with: | ||
| changeLogPath: "CHANGELOG.md" | ||
| skipLabels: "Skip Changelog" | ||
| - name: "Enforce develop branch" | ||
| if: ${{ github.event.pull_request.base.ref == 'master' && !contains(github.event.pull_request.labels.*.name, 'mastermerge') }} | ||
| - name: "Branch is not based on develop" | ||
| if: ${{ github.base_ref != 'develop' && !contains(github.event.pull_request.labels.*.name, 'mastermerge') }} | ||
| run: | | ||
| echo "This PR is based against the master branch and not a release or hotfix." | ||
| echo "Please don't do this. Switch the branch to 'develop'." | ||
| echo "Current base branch: $BASE_BRANCH" | ||
| echo "Note: PRs should only ever be merged into develop so please rebase your branch on develop and try again." | ||
| exit 1 | ||
| env: | ||
| BASE_BRANCH: ${{ github.event.pull_request.base.ref }} | ||
| BASE_BRANCH: ${{ github.base_ref }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.