Skip to content

Commit

Permalink
Fix release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed May 28, 2024
1 parent ee29748 commit 138abcb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
change-template: "- #$NUMBER $TITLE @$AUTHOR"
sort-direction: ascending

categories:
- title: "Dependency Updates"
label: "dependencies"
collapse-after: 1

template: |
## What’s Changed
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@ name: Release Drafter

on:
push:
branches: ["main"]
branches:
- main

permissions: {}

jobs:
update_release_draft:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- id: version
run: |
version=$(date --utc '+%Y%m%d%H%M%S')
echo "::set-output name=version::$version"
echo "version=$version" >> $GITHUB_OUTPUT
- uses: release-drafter/release-drafter@v6
- uses: release-drafter/release-drafter@v6.0.0
with:
tag: ${{ steps.version.outputs.version }}
name: ${{ steps.version.outputs.version }}
Expand Down

0 comments on commit 138abcb

Please sign in to comment.