Skip to content

Commit

Permalink
Update update-changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchit288 authored Jan 2, 2024
1 parent d210a55 commit 3793bbb
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
name: update changelog
name: "Update Changelog"

on:
release:
types: [released]

permissions: {}

jobs:
update:
permissions:
contents: write
uses: vcian/pulse-active-sessions/.github/.github/workflows/update-changelog.yml@main
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md

0 comments on commit 3793bbb

Please sign in to comment.