From aaa64900ba3b4f9f1a75e33281966bd67b131b93 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Sat, 19 Oct 2024 20:40:54 -0700 Subject: [PATCH] ci: release-it automation --- .github/workflows/push-workflow.yaml | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/push-workflow.yaml b/.github/workflows/push-workflow.yaml index 6006203..4ad831b 100644 --- a/.github/workflows/push-workflow.yaml +++ b/.github/workflows/push-workflow.yaml @@ -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/checkout@v4.1.7 + 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/checkout@v4.1.7 + 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 }}