Skip to content

Commit

Permalink
Add manual trigger for 'updateRelease'-workflow and use project-bot
Browse files Browse the repository at this point in the history
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
  • Loading branch information
HannesWell committed Nov 23, 2024
1 parent 2815608 commit 6edc20e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/updateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,23 @@ name: Update to next release
on:
milestone:
types: [created]
workflow_dispatch:
inputs:
nextReleaseVersion:
description: 'The version of the release, e.g.: 4.35'
type: string
required: true

jobs:
update:
if: contains(github.event.milestone.description, 'Release')
if: github.event_name == 'workflow_dispatch' || contains(github.event.milestone.description, 'Release')
permissions:
pull-requests: write
contents: write
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/updateRelease.yml@master
with:
nextReleaseVersion: ${{ inputs.nextReleaseVersion || github.event.milestone.title }}
botName: Eclipse Equinox Bot
botMail: equinox-bot@eclipse.org
secrets:
githubBotPAT: ${{ secrets.EQUINOX_BOT_PAT }}

0 comments on commit 6edc20e

Please sign in to comment.