Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create updateRelease.yml #611

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Create updateRelease.yml #611

merged 1 commit into from
Feb 22, 2023

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Feb 20, 2023

Add workflow for automatic release updates

FYI @akurtakov @iloveeclipse here is a screen cast how it works to apply and test the shared action to a repository, I'll try to do some more tomorrow, but if in the meanwhile someone likes to help with that it would be appriciated!

How this can be tested / applied to other repositories

  • go to your fork of the repository - all the following steps are performed in the forked repository

  • go to the settings and make sure actions are enabled (don't forget to save!)
    grafik

  • and issues as well
    grafik

  • make sure it is in sync on the master branch, if not, sync your fork
    grafik

  • navigate to .github/workflows and choose create new file
    grafik

  • name the file updateRelease.yml and paste the following snippet:

name: Update to next release
on:
  milestone:
    types: [created]

jobs:
  update:
    if: contains(github.event.milestone.description, 'Release')
    permissions:
      pull-requests: write
      contents: write
    uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/updateRelease.yml@master
  • now commit it directly to your master branch
    grafik
  • then go to the issues and select milestones
    grafik
  • create a new milestone and name it 4.28 and in the Description enter the word Release
    grafik
  • now head over to the Actions tab and you should see y job "Update to next release running"
    grafik
  • just wait a while and you should get a new PR created in your repo, review if it looks sane
    grafik
  • now go to the code tab and select "contribute" to open a PR to merge it in the final repo
    grafik

Add workflow for automatic release updates
@laeubi
Copy link
Contributor Author

laeubi commented Feb 22, 2023

@laeubi laeubi merged commit 5c0355e into eclipse-platform:master Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant