Skip to content

Commit

Permalink
Merge pull request #54 from WyriHaximus/switch-to-release-management-…
Browse files Browse the repository at this point in the history
…workflow-for-releases

Switch to release management workflow for releases
  • Loading branch information
WyriHaximus committed Aug 11, 2023
2 parents cb30a89 + b72f40f commit a3a7475
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -6,16 +6,9 @@ on:
- 'master'
- 'refs/heads/v[0-9]+.[0-9]+.[0-9]+'
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
- reopened
## This workflow needs the `pull-request` permissions to work for the package diffing
## Refs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
permissions:
issues: write
pull-requests: write
contents: read
jobs:
Expand Down
@@ -1,18 +1,23 @@
name: Create Release
env:
MILESTONE: ${{ github.event.milestone.title }}
name: Release Management
on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
- reopened
milestone:
types:
- closed
permissions:
contents: write
issues: read
pull-requests: read
issues: write
pull-requests: write
jobs:
create-release:
release-managment:
name: Create Release
uses: WyriHaximus/github-workflows/.github/workflows/package-craft-release.yaml@main
uses: WyriHaximus/github-workflows/.github/workflows/package-release-managment.yaml@main
with:
milestone: ${{ github.event.milestone.title }}
description: ${{ github.event.milestone.title }}

0 comments on commit a3a7475

Please sign in to comment.