Skip to content

Commit 3767c80

Browse files
authored
Merge pull request #1 from dappnode/mgarciate-patch-1
Update gh action
2 parents c566a5d + b97d246 commit 3767c80

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: "Main"
22
on:
3+
workflow_dispatch:
4+
inputs:
5+
bump:
6+
description: "Bump type, must be: patch"
7+
required: true
38
pull_request:
49
push:
510
branches:
6-
- "main"
711
- "master"
12+
- "main"
813
- "v[0-9]+.[0-9]+.[0-9]+"
914
paths-ignore:
1015
- "README.md"
@@ -21,7 +26,7 @@ jobs:
2126
release:
2227
name: Release
2328
runs-on: ubuntu-latest
24-
if: github.event_name == 'push'
29+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
2530
steps:
2631
- uses: actions/checkout@v2
2732
- name: Publish

0 commit comments

Comments
 (0)