File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 3535 env :
3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3737
38- generate-changelog :
39- if : ${{ needs.semantic-version.outputs.release-tag }}
40- needs : semantic-version
41- name : Generate Changelog
42- runs-on : ubuntu-latest
43- environment : auto-release
44- permissions :
45- contents : write
46- steps :
47- - uses : actions/checkout@v4
48- with :
49- fetch-depth : 0
50- token : ${{ secrets.GHA_TOKEN }}
5138
52- - name : Setup backend
53- uses : ./.github/actions/setup-environment
54-
55- - name : Generate changelog
56- env :
57- OPEN_AI_TOKEN : ${{ secrets.OPEN_AI_TOKEN }}
58- run : uv run python src/codegen/gscli/cli.py generate changelog --openai-key ${{ secrets.OPEN_AI_TOKEN }}
59-
60- - name : Commit changes
61- run : |
62- git config --local user.email "github-actions[bot]@users.noreply.github.com"
63- git config --local user.name "github-actions[bot]"
64- git add docs/changelog/changelog.mdx
65- git diff --staged --quiet || git commit -m "update changelog"
66-
67- - name : Push changes
68- uses : ad-m/github-push-action@master
69- with :
70- branch : ${{ github.ref }}
7139
7240 release :
7341 if : ${{ needs.semantic-version.outputs.release-tag }}
You can’t perform that action at this time.
0 commit comments