Skip to content

Commit

Permalink
Add changelog workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed May 8, 2022
1 parent 60a830a commit 0b8691c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: changelog

on:
push:
workflow_dispatch:

jobs:
changelog:
name: changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Generate changelog
run: |
export GH_HOST=github.com
gh extension install chelnak/gh-changelog
gh changelog new
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
title: "changelog"
labels:
"maintenance"

0 comments on commit 0b8691c

Please sign in to comment.