Skip to content

Commit

Permalink
Update release-drafter to run on every commit
Browse files Browse the repository at this point in the history
It looks like it needs this to keep its draft up to date. We then edit
the draft with the proper version when we push a tag.
  • Loading branch information
canton7 committed Feb 3, 2025
1 parent 48b0011 commit 34c5e02
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Draft a release note

on:
push:
branches:
- main
- master

jobs:
draft_release:
name: Release Drafter
runs-on: ubuntu-latest
steps:
- name: Run release-drafter
uses: release-drafter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: write

jobs:
build:
release:
name: Create release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 34c5e02

Please sign in to comment.