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 }}