Skip to content

💥 breaking: GitHub Release action v2 #9

💥 breaking: GitHub Release action v2

💥 breaking: GitHub Release action v2 #9

Workflow file for this run

name: Release CI
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
prepare:
name: Prepare Release
if: github.event.head.ref != 'release' && !contains(github.event.commits[0].message, '🚀 release:')
runs-on: [ self-hosted, Linux ]
steps:
- name: Prepare release branch and PR
uses: localazy/release@v1
with:
action: prepare
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
release:
name: Release
if: github.event.head.ref == 'release' || contains(github.event.commits[0].message, '🚀 release:')
runs-on: [ self-hosted, Linux ]
steps:
- name: Release new version
uses: localazy/release@v1
with:
action: release
app-id: ${{ secrets.AUTH_APP_ID }}
app-key: ${{ secrets.AUTH_APP_KEY }}
major-bump: true
major-bump-tag-prefix: v