Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #46 from dev-sec/unify_actions
Browse files Browse the repository at this point in the history
unify changelog and release actions
  • Loading branch information
rndmh3ro authored Jun 6, 2020
2 parents 99d63ff + a2e7cf3 commit 7621bca
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 35 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/changelog.yml

This file was deleted.

20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,35 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate changelog
uses: charmixer/auto-changelog-action@8095796
with:
token: ${{ secrets.GITHUB_TOKEN }}
future_release: ${{ steps.version.outputs.next-version }}

- name: Generate changelog for the release
uses: charmixer/auto-changelog-action@8095796
with:
token: ${{ secrets.GITHUB_TOKEN }}
since_tag: ${{ steps.previoustag.outputs.tag }}
future_release: ${{ steps.version.outputs.next-version }}
output: CHANGELOGRELEASE.md

- name: push changelog
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'update changelog'
force-add: 'true'
files: CHANGELOG.md
name: dev-sec CI
email: [email protected]

- name: Read CHANGELOG.md
id: package
uses: juliangruber/read-file-action@v1
with:
path: ./CHANGELOG.md
path: ./CHANGELOGRELEASE.md

- name: Create Release draft
id: create_release
Expand Down

0 comments on commit 7621bca

Please sign in to comment.