Skip to content

Commit

Permalink
ci: release-it automation
Browse files Browse the repository at this point in the history
  • Loading branch information
rcwbr committed Oct 23, 2024
1 parent 7eef694 commit aaa6490
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/push-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,37 @@ jobs:
env:
REGISTRY: ghcr.io/rcwbr/
IMAGE_NAME: release-it-docker-conventional-changelog
release-it-dry-run:
name: Release-it dry-run
runs-on: ubuntu-24.04
steps:
-
name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
-
name: Release-it
uses: rcwbr/release-it-action/conventional-changelog-action@1-define-initial-action
with:
release-it-extra-args: --changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release-it:
name: Release-it
runs-on: ubuntu-24.04
permissions:
contents: write
# Run full release process for pushes to main
if: ${{ github.ref == 'refs/heads/main' }}
steps:
-
name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
-
name: Release-it
uses: rcwbr/release-it-action/conventional-changelog-action@1-define-initial-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aaa6490

Please sign in to comment.