Skip to content

Commit

Permalink
Don't push changelog to remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Somfic authored Feb 2, 2024
1 parent 767449e commit 2b6a5e0
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,7 @@ on:
types: [closed]

jobs:
changelog:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Generate release notes
uses: Decathlon/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USE_MILESTONE_TITLE: "true"
FILENAME: "CHANGELOG"

- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update CHANGELOG.md"

release:
needs: changelog
permissions: write-all
strategy:
matrix:
Expand Down Expand Up @@ -58,6 +38,13 @@ jobs:
with:
workspaces: "./src-tauri -> target"

- name: Generate release notes
uses: Decathlon/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USE_MILESTONE_TITLE: "true"
FILENAME: "CHANGELOG"

- name: Read changelog
id: notes
uses: jaywcjlove/github-action-read-file@main
Expand Down

0 comments on commit 2b6a5e0

Please sign in to comment.