Skip to content

Commit 6edc20e

Browse files
committed
Add manual trigger for 'updateRelease'-workflow and use project-bot
Adding a manual trigger allows to re-run that job manually with the latest changes applied to the referenced workflow from the releng.aggregator repository. And since we have a eclipse bot specifically for each project we can use that bot as author of these automated changes instead of the generic GH bot. Uses eclipse-platform/eclipse.platform.releng.aggregator#2571
1 parent 2815608 commit 6edc20e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/updateRelease.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,23 @@ name: Update to next release
22
on:
33
milestone:
44
types: [created]
5+
workflow_dispatch:
6+
inputs:
7+
nextReleaseVersion:
8+
description: 'The version of the release, e.g.: 4.35'
9+
type: string
10+
required: true
511

612
jobs:
713
update:
8-
if: contains(github.event.milestone.description, 'Release')
14+
if: github.event_name == 'workflow_dispatch' || contains(github.event.milestone.description, 'Release')
915
permissions:
1016
pull-requests: write
1117
contents: write
1218
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/updateRelease.yml@master
19+
with:
20+
nextReleaseVersion: ${{ inputs.nextReleaseVersion || github.event.milestone.title }}
21+
botName: Eclipse Equinox Bot
22+
23+
secrets:
24+
githubBotPAT: ${{ secrets.EQUINOX_BOT_PAT }}

0 commit comments

Comments
 (0)