This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from dev-sec/unify_actions
unify changelog and release actions
- Loading branch information
Showing
2 changed files
with
19 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|