Skip to content

Commit 42a87ec

Browse files
committed
ci(workflows): allow the workflows to be run by hand
1 parent df514aa commit 42a87ec

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/auto-merge.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Auto Merge
22
on:
3+
workflow_dispatch:
34
push:
45
tags:
56
- '*'

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- '**'

.github/workflows/publish-platforms.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Publish to platforms
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag:
7+
description: 'Release tag to publish; empty takes the ref the run was started from'
8+
required: false
9+
type: string
10+
default: ''
411
push:
512
tags:
613
- "v*"
@@ -12,4 +19,5 @@ jobs:
1219
uses: Slimefun5/workflows/.github/workflows/publish-platforms.yml@main
1320
with:
1421
project_name: ${{ github.event.repository.name }}
22+
tag: ${{ inputs.tag }}
1523
secrets: inherit

0 commit comments

Comments
 (0)