Skip to content

Commit

Permalink
feat(ci): add auto changelog (release)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Nov 29, 2023
1 parent 56bde67 commit 3d1af45
Show file tree
Hide file tree
Showing 6 changed files with 1,034 additions and 559 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ jobs:
sed -i 's/"@axa-fr\/oidc-client": "[^"]*"/"@axa-fr\/oidc-client": "workspace:*"/g' package.json
cat package.json
working-directory: ./packages/react-oidc

- name: auto generate changelog
if: github.ref == 'refs/heads/main' && steps.which_tag.outputs.tag == 'release'
run: |
chmod +x ./bin/generate-changelog.sh
./bin/generate-changelog.sh
working-directory: ./packages/react-oidc

- name: Commit updates package.json
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
Loading

0 comments on commit 3d1af45

Please sign in to comment.