Skip to content

Commit e11227a

Browse files
committed
Run version increment workflow on PRs and result publication
Follow-up on - #2052
1 parent b080bb4 commit e11227a

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.github/workflows/pr-checks.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Fast running checks for pull-requests
2+
3+
name: Pull-Request Checks
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
8+
on:
9+
pull_request:
10+
branches: [ main ]
11+
12+
jobs:
13+
check-merge-commits:
14+
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkMergeCommits.yml@master
15+
check-versions:
16+
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkVersions.yml@master
17+
with:
18+
botName: Eclipse M2E Bot
19+

.github/workflows/versionbumps.yml renamed to .github/workflows/version-increments.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Version Check Results
22

33
on:
44
workflow_run:
5-
workflows: [ 'Build M2Eclipse' ]
5+
workflows: [ 'Pull-Request Checks' ]
66
types: [ completed ]
77

88
jobs:
@@ -11,4 +11,4 @@ jobs:
1111
with:
1212
botGithubId: eclipse-m2e-bot
1313
secrets:
14-
githubBotPAT: ${{ secrets.M2E_BOT_PAT }}
14+
githubBotPAT: ${{ secrets.M2E_BOT_PAT }}

m2e-parent/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@
202202
</dependency>
203203
</dependencies>
204204
</plugin>
205+
<plugin>
206+
<groupId>org.eclipse.tycho</groupId>
207+
<artifactId>tycho-versions-plugin</artifactId>
208+
<version>${tycho-version}</version>
209+
</plugin>
205210
<plugin>
206211
<groupId>org.apache.maven.plugins</groupId>
207212
<artifactId>maven-dependency-plugin</artifactId>

0 commit comments

Comments
 (0)