From 4bee0fb3e3a9640dcc41baf7382053683bca30db Mon Sep 17 00:00:00 2001 From: Alexander Ikonomou Date: Sun, 27 Apr 2025 13:35:22 +0200 Subject: [PATCH] Change main to master This is necessary because OpenUserJS does only update the userscripts if the default branch is master. Related to: https://github.com/ikelax/userscripts/issues/20 --- .github/workflows/ci.yml | 2 +- .github/workflows/labels.yml | 2 +- README.md | 6 +++--- userscripts/mensaar-add-uds-htw.user.js | 4 ++-- userscripts/mensaar-show-next-day-when-closed.user.js | 4 ++-- userscripts/uds-cms-add-materials.user.js | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a8a56d..61b703f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ permissions: on: pull_request: - branches: [main] + branches: [master] env: CLICOLOR: 1 diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 46efd90..4b1a7fe 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -3,7 +3,7 @@ name: GitHub on: push: branches: - - "main" + - "master" paths: - ".github/labels.yml" - ".github/workflows/labels.yml" diff --git a/README.md b/README.md index 055f837..7e4a588 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ Userscripts to add functionality to pages of the Saarland University. [mnuh-docs]: docs/Mensaar_Navbar_UdS_HTW.md [msnd-docs]: docs/Mensaar_Show_Next_Day.md [cnm-docs]: docs/CMS_Navbar_Materials.md -[mnuh-raw]: https://github.com/ikelax/userscripts/raw/refs/heads/main/userscripts/mensaar-add-uds-htw.user.js -[msnd-raw]: https://github.com/ikelax/userscripts/raw/refs/heads/main/userscripts/mensaar-show-next-day-when-closed.user.js -[cnm-raw]: https://github.com/ikelax/userscripts/raw/refs/heads/main/userscripts/uds-cms-add-materials.user.js +[mnuh-raw]: https://github.com/ikelax/userscripts/raw/refs/heads/master/userscripts/mensaar-add-uds-htw.user.js +[msnd-raw]: https://github.com/ikelax/userscripts/raw/refs/heads/master/userscripts/mensaar-show-next-day-when-closed.user.js +[cnm-raw]: https://github.com/ikelax/userscripts/raw/refs/heads/master/userscripts/uds-cms-add-materials.user.js [mnuh-gf]: https://greasyfork.org/en/scripts/533937-mensaar-navbar-uds-htw [msnd-gf]: https://greasyfork.org/en/scripts/533989-mensaar-show-next-day [cnm-gf]: https://greasyfork.org/en/scripts/533938-cms-navbar-materials diff --git a/userscripts/mensaar-add-uds-htw.user.js b/userscripts/mensaar-add-uds-htw.user.js index 89db683..393116c 100644 --- a/userscripts/mensaar-add-uds-htw.user.js +++ b/userscripts/mensaar-add-uds-htw.user.js @@ -8,8 +8,8 @@ // @description A userscript that adds links to the meal plans of the UdS and HTW to the navigation bar // @license MIT // @supportURL https://github.com/ikelax/userscripts/issues -// @updateURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/main/userscripts/mensaar-add-uds-htw.user.js -// @downloadURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/main/userscripts/mensaar-add-uds-htw.user.js +// @updateURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/master/userscripts/mensaar-add-uds-htw.user.js +// @downloadURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/master/userscripts/mensaar-add-uds-htw.user.js // @copyright 2025, Alexander Ikonomou (https://github.com/ikelax) // @homepageURL https://github.com/ikelax/userscripts // @homepage https://github.com/ikelax/userscripts diff --git a/userscripts/mensaar-show-next-day-when-closed.user.js b/userscripts/mensaar-show-next-day-when-closed.user.js index e0b5d11..79739e7 100644 --- a/userscripts/mensaar-show-next-day-when-closed.user.js +++ b/userscripts/mensaar-show-next-day-when-closed.user.js @@ -8,8 +8,8 @@ // @description A userscript that switches to the meal plans for the next day when the canteen has already closed for today // @license MIT // @supportURL https://github.com/ikelax/userscripts/issues -// @updateURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/main/userscripts/mensaar-show-next-day-when-closed.user.js -// @downloadURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/main/userscripts/mensaar-show-next-day-when-closed.user.js +// @updateURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/master/userscripts/mensaar-show-next-day-when-closed.user.js +// @downloadURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/master/userscripts/mensaar-show-next-day-when-closed.user.js // @copyright 2025, Alexander Ikonomou (https://github.com/ikelax) // @homepageURL https://github.com/ikelax/userscripts // @homepage https://github.com/ikelax/userscripts diff --git a/userscripts/uds-cms-add-materials.user.js b/userscripts/uds-cms-add-materials.user.js index c2e50cd..f6bcbdc 100644 --- a/userscripts/uds-cms-add-materials.user.js +++ b/userscripts/uds-cms-add-materials.user.js @@ -9,8 +9,8 @@ // @description A userscript that adds a link to the materials of the current course to the navigation bar // @license MIT // @supportURL https://github.com/ikelax/userscripts/issues -// @updateURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/main/userscripts/uds-cms-add-materials.user.js -// @downloadURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/main/userscripts/uds-cms-add-materials.user.js +// @updateURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/master/userscripts/uds-cms-add-materials.user.js +// @downloadURL https://raw.githubusercontent.com/ikelax/userscripts/refs/heads/master/userscripts/uds-cms-add-materials.user.js // @copyright 2025, Alexander Ikonomou (https://github.com/ikelax) // @homepageURL https://github.com/ikelax/userscripts // @homepage https://github.com/ikelax/userscripts