Skip to content

Commit

Permalink
Update changelog.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Babichev <maksim.babichev95@gmail.com>
  • Loading branch information
rez1dent3 authored Jan 17, 2024
1 parent 2af8c69 commit 2dc7734
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,29 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.release.target_commitish }}

- name: Check file existence
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "changelog.md"

- uses: actions/setup-go@v5
id: artifacts-golang
if: steps.check_files.outputs.files_exists != 'true'
with:
go-version: '>=1.21.0'

- name: Install first-changelog
id: artifacts-tools-install
if: steps.check_files.outputs.files_exists != 'true'
run: go install github.com/bavix/first-changelog@latest

- name: Init changelog
id: artifacts-display-all
if: steps.check_files.outputs.files_exists != 'true'
run: |
~/go/bin/first-changelog "${{ github.repository }}" > changelog.md
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
Expand Down

0 comments on commit 2dc7734

Please sign in to comment.