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 committed Jan 5, 2024
1 parent ee7facb commit 21479d3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 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)
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,27 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v2

- name: Conventional Changelog Action
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 21479d3

Please sign in to comment.