Skip to content

Commit

Permalink
ci: upgrade release workflow action (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
LironEr authored Apr 11, 2024
1 parent 4fb92a8 commit 3bc3bd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pull-request-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ jobs:
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@c3cd5d1ea3580753008872425915e343e351ab54 # v5.2.0
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |-
feat
fix
chore
requireScope: false
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ jobs:

- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@5f865e4ca373f189640721c0cca04ea3e0e7bfcd # v4.0.0
uses: TriPSs/conventional-changelog-action@f04dac1fd07687cec8ea302937ca588b33786e98 # v5.2.1
with:
preset: 'conventionalcommits'
output-file: 'false'

- name: Create Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
Expand All @@ -62,7 +63,7 @@ jobs:
body: ${{ steps.changelog.outputs.clean_changelog }}

- name: Update major tag
uses: actions/publish-action@dca2315f75060c81e52b00dfc86b660107013642 # v0.2.2
uses: actions/publish-action@f784495ce78a41bac4ed7e34a73f0034015764bb # v0.3.0
if: ${{ steps.changelog.outputs.skipped == 'false' }}
with:
source-tag: ${{ steps.changelog.outputs.tag }}

0 comments on commit 3bc3bd2

Please sign in to comment.