Skip to content

Commit

Permalink
Update auto_change_log.yml
Browse files Browse the repository at this point in the history
- okay, try using another action to run linux commands.
  • Loading branch information
carlkidcrypto committed Jan 11, 2025
1 parent b8d2869 commit ae37c86
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/auto_change_log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@ jobs:
update-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main


- name: Setup git-chglog
run: |
uses: carlkidcrypto/[email protected]
with:
linux: |
sudo snap install go --classic;
go install github.com/git-chglog/git-chglog/cmd/git-chglog@latest;
- name: Generate CHANGELOG.md
id: generate
run: |
rm -f CHANGELOG.md
~/go/bin/git-chglog --config /home/runner/work/ezsnmp/ezsnmp/.chglog/config.yml -o CHANGELOG.md
uses: carlkidcrypto/[email protected]
with:
linux: |
rm -f CHANGELOG.md;
~/go/bin/git-chglog --config /home/runner/work/ezsnmp/ezsnmp/.chglog/config.yml -o CHANGELOG.md;
if git diff --quiet CHANGELOG.md; then
echo "changes=false" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit ae37c86

Please sign in to comment.