mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-26 13:00:21 +00:00
Merge pull request #131 from dev-sec/changelog_before
CHANGELOG for RELEASE done before the push to avoid breaking
This commit is contained in:
commit
97a14b83a5
1 changed files with 9 additions and 8 deletions
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
@ -30,6 +30,14 @@ jobs:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
future_release: ${{ steps.version.outputs.next-version }}
|
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: update inspec.yml
|
- name: update inspec.yml
|
||||||
uses: mikefarah/yq@3.2.1
|
uses: mikefarah/yq@3.2.1
|
||||||
with:
|
with:
|
||||||
|
@ -46,18 +54,11 @@ jobs:
|
||||||
name: dev-sec CI
|
name: dev-sec CI
|
||||||
email: hello@dev-sec.io
|
email: hello@dev-sec.io
|
||||||
|
|
||||||
- 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 }}
|
|
||||||
|
|
||||||
- name: Read CHANGELOG.md
|
- name: Read CHANGELOG.md
|
||||||
id: package
|
id: package
|
||||||
uses: juliangruber/read-file-action@v1
|
uses: juliangruber/read-file-action@v1
|
||||||
with:
|
with:
|
||||||
path: ./CHANGELOG.md
|
path: ./CHANGELOGRELEASE.md
|
||||||
|
|
||||||
- name: Create Release draft
|
- name: Create Release draft
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|
Loading…
Reference in a new issue