From 3bc3bd28b95abe2cfc289ca35f02bab2dc4bf6d9 Mon Sep 17 00:00:00 2001 From: LironEr Date: Fri, 12 Apr 2024 00:29:49 +0300 Subject: [PATCH] ci: upgrade release workflow action (#26) --- .github/workflows/pull-request-lint.yml | 6 +----- .github/workflows/release.yml | 7 ++++--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pull-request-lint.yml b/.github/workflows/pull-request-lint.yml index 1dbcfe2..19959d2 100644 --- a/.github/workflows/pull-request-lint.yml +++ b/.github/workflows/pull-request-lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf74caf..fda8e63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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 }}