Skip to content

.github/workflows/release-managment.yaml #35

.github/workflows/release-managment.yaml

.github/workflows/release-managment.yaml #35

name: Release Management
on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
- reopened
milestone:
types:
- closed
permissions:
contents: write
issues: write
pull-requests: write
packages: write
jobs:
release-managment:
name: Release Management
secrets: inherit
uses: WyriHaximus/github-workflows/.github/workflows/github-action-release-managment.yaml@all-releasing-uses-the-same-workflow
with:
milestone: ${{ github.event.milestone.title }}
description: ${{ github.event.milestone.title }}
preReleaseScript: |
touch action.yaml
git add action.yaml
git config user.name '${{ github.actor }}'
git config user.email '${{ github.actor }}@users.noreply.github.com'
git commit -m "Prepare ${{ github.event.milestone.title }} release"