Skip to content

Commit

Permalink
Merge pull request #3 from lonegunmanb/changelog_1
Browse files Browse the repository at this point in the history
try to fix auto change log update
  • Loading branch information
lonegunmanb authored Nov 10, 2022
2 parents fd8d685 + 4f527ab commit 8960fc0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
uses: actions/checkout@v3
- uses: 8BitJonny/[email protected]
id: PR
- name: 'Get Previous tag'
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
with:
fallback: 0.0.0
semver_only: true
initial_version: 0.0.0
- name: update-changelog
if: steps.PR.outputs.number != ''
run: |
docker run --rm -v $(pwd):/src -w /src githubchangeloggenerator/github-changelog-generator -u ${{ github.repository_owner }} -p ${{ github.event.repository.name }} -t ${{ secrets.GITHUB_TOKEN }} --no-issues --no-compare-link --since-tag ${{ steps.previoustag.outputs.tag }}
docker run --rm -v $(pwd):/src -w /src githubchangeloggenerator/github-changelog-generator -u ${{ github.repository_owner }} -p ${{ github.event.repository.name }} -t ${{ secrets.GITHUB_TOKEN }} --no-issues --no-compare-link --since-tag ${{ steps.get-latest-tag.outputs.tag }}
git commit -m "update changelog"
git push

0 comments on commit 8960fc0

Please sign in to comment.