Skip to content

Commit

Permalink
ci: remove redundant “Generate changelog”
Browse files Browse the repository at this point in the history
Relates-to: #423
  • Loading branch information
YDX-2147483647 committed Mar 25, 2024
1 parent 5f52d4f commit 54bbe79
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
asset_name: ${{ matrix.cls }}.cls
tag: ${{ github.ref }}

publish_pdfs:
update_changelog:
name: Generate changelog
runs-on: ubuntu-latest
# Makesure it's the last job.
Expand Down Expand Up @@ -152,33 +152,6 @@ jobs:
body: |
${{ steps.git-cliff.outputs.content }}
update_changelog:
name: Generate changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Generate a changelog
uses: orhun/git-cliff-action@v3
with:
config: cliff.toml
args: --verbose
env:
OUTPUT: CHANGELOG.md
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
set +e
git add CHANGELOG.md
git commit -m "Update CHANGELOG"
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/BITNP/BIThesis.git main
upload_to_ctan:
name: Upload to CTAN
runs-on: ubuntu-latest
Expand Down

0 comments on commit 54bbe79

Please sign in to comment.