Skip to content

Commit

Permalink
fix(ci): action release now it's ready to run
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBellyDev authored and tgragnato committed Jan 5, 2024
1 parent ee7facb commit 4e1bd37
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Changelog

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.


## [1.1.1](https://github.com/immobiliare/inca/compare/1.1.0...1.1.1) (2023-12-19)

### Bug Fixes
Expand Down
6 changes: 5 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@

Simply run `go test -v ./...`.

## Commit guidelines

Please see the [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## Contributors

* [`@streambinder`](https://github.com/streambinder)
* [`@fabfurnari`](https://github.com/fabfurnari)
* [`@tgragnato`](https://github.com/tgragnato)
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ jobs:
id: changelog
uses: TriPSs/conventional-changelog-action@v5
with:
preset: conventionalcommits
github-token: ${{ secrets.GH_SRE_TOKEN }}
git-user-name: ${{ github.actor }}
git-user-email: ${{ github.actor }}@users.noreply.github.com
tag-prefix: ''
release-count: 0
input-file: '.github/CHANGELOG.md'
output-file: '.github/CHANGELOG.md'
release-count: 10000
skip-on-empty: false
skip-version-file: true
output-file: '.github/CHANGELOG.md'

- name: Create Release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GH_SRE_TOKEN }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
token: ${{ secrets.GH_SRE_TOKEN }}

0 comments on commit 4e1bd37

Please sign in to comment.