From 1013428854e3d35373e791567649ae2810e3c2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Thu, 15 Aug 2024 08:28:20 +0200 Subject: [PATCH] Add a ruleset for updating dependencies This adds a ruleset so we can ignore unwanted versions (beside major updates) from being suggested by the update-target workflow. --- .github/workflows/updateTarget.yml | 3 ++- .../update-rules.xml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 eclipse.platform.releng.prereqs.sdk/update-rules.xml diff --git a/.github/workflows/updateTarget.yml b/.github/workflows/updateTarget.yml index a135a89408a..535a52692fc 100644 --- a/.github/workflows/updateTarget.yml +++ b/.github/workflows/updateTarget.yml @@ -25,8 +25,9 @@ jobs: run: >- mvn -f eclipse.platform.releng.prereqs.sdk org.eclipse.tycho.extras:tycho-version-bump-plugin:4.0.9-SNAPSHOT:update-target - -Dmajor=false + -DallowMajorUpdates=false -Ddiscovery=parent + -Dmaven.version.rules=update-rules.xml - name: Create Pull Request uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0 with: diff --git a/eclipse.platform.releng.prereqs.sdk/update-rules.xml b/eclipse.platform.releng.prereqs.sdk/update-rules.xml new file mode 100644 index 00000000000..4e7e933b822 --- /dev/null +++ b/eclipse.platform.releng.prereqs.sdk/update-rules.xml @@ -0,0 +1,17 @@ + + + + .+-(alpha|beta|M)\d*$ + + + + + + 2.0.1.MR + + + + \ No newline at end of file