Skip to content

Commit

Permalink
fix: release drafter (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-hivemq authored Sep 5, 2024
1 parent 0098989 commit 62dd2a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/draft-next-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@

name: ✍️ Release Drafter

permissions:
contents: write

on:
push:
branches:
- main
paths:
- '.github/workflows/release-drafter.yml'
- '.github/workflows/draft-release.yml'
- 'testing/**'
- 'theme/**'
workflow_dispatch: {}
Expand All @@ -26,16 +23,12 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: ./.github/actions/setup

- uses: release-drafter/release-drafter@65c5fb495d1e69aa8c08a3317bc44ff8aabe9772
id: releaseDrafter
with:
config-name: configs/draft-release.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_DRAFTER_TOKEN }}

# Run version bumping on the theme package
- run: pnpm version ${{ steps.releaseDrafter.outputs.resolved_version }} --git-tag-version=false --allow-same-version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Action to label pull requests based on the pre commit config that can be found here:
# 🪛 https://github.com/hivemq-cloud/hivemq-cloud/blob/develop/.pre-commit-config.yaml
# 🪛 https://github.com/hivemq/ui-theme/blob/main/.pre-commit-config.yaml
# ---
# This action is a prerequisite to allow us to use release-drafter
# https://github.com/release-drafter/release-drafter
Expand Down

0 comments on commit 62dd2a4

Please sign in to comment.