This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
on:
|
||||
push:
|
||||
# only if commit message starts with "release"
|
||||
branches:
|
||||
- main
|
||||
# and commit message contains "release"
|
||||
|
||||
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release_notes:
|
||||
@@ -24,6 +32,7 @@ on:
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
if: "contains(github.event.head_commit.message, 'release') || github.event_name == 'workflow_dispatch'"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user