diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d791b9..644cd75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2021-2025 O21 contributors +# SPDX-FileCopyrightText: 2021-2026 O21 contributors # # SPDX-License-Identifier: MIT @@ -8,6 +8,7 @@ on: push: branches: - main + - renovate/** pull_request: branches: - main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74763e7..4ed12a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2021-2025 O21 contributors +# SPDX-FileCopyrightText: 2021-2026 O21 contributors # # SPDX-License-Identifier: MIT @@ -8,6 +8,7 @@ on: push: branches: - main + - renovate/** tags: - v* pull_request: diff --git a/Scripts/github-actions.fsx b/Scripts/github-actions.fsx index 3f17727..0b7ad44 100644 --- a/Scripts/github-actions.fsx +++ b/Scripts/github-actions.fsx @@ -1,5 +1,5 @@ let licenseHeader = """ -# SPDX-FileCopyrightText: 2021-2025 O21 contributors +# SPDX-FileCopyrightText: 2021-2026 O21 contributors # # SPDX-License-Identifier: MIT @@ -49,6 +49,7 @@ let workflows = [ workflow "main" [ name "Main" onPushTo "main" + onPushTo "renovate/**" onPullRequestTo "main" onSchedule "0 0 * * 6" onWorkflowDispatch @@ -143,6 +144,7 @@ let workflows = [ workflow "release" [ name "Release" onPushTo "main" + onPushTo "renovate/**" onPushTags "v*" onPullRequestTo "main" onSchedule "0 0 * * 6" diff --git a/renovate.json b/renovate.json index 49332cd..ef5c2d6 100644 --- a/renovate.json +++ b/renovate.json @@ -4,7 +4,19 @@ "config:recommended" ], "automerge": true, + "automergeType": "branch", "customManagers": [ + { + "description": "Update the Generaptor package.", + "customType": "regex", + "managerFilePatterns": [ + "scripts/github-actions.fsx" + ], + "matchStrings": [ + "#r \"nuget: (?.+), (?\\S+)\"" + ], + "datasourceTemplate": "nuget" + }, { "description": "Update the GitHub Actions runners.", "customType": "regex", diff --git a/renovate.json.license b/renovate.json.license index 2c34ddb..fe74d54 100644 --- a/renovate.json.license +++ b/renovate.json.license @@ -1,3 +1,3 @@ -SPDX-FileCopyrightText: 2024 O21 contributors +SPDX-FileCopyrightText: 2024-2026 O21 contributors SPDX-License-Identifier: MIT