Skip to content

Commit da9576f

Browse files
committed
Add workflow_dispatch to release workflow
1 parent 579df25 commit da9576f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/release.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,15 @@
66

77
name: Release
88
on:
9+
pull_request:
10+
paths:
11+
- '**/workflows/release.yml'
12+
13+
workflow_dispatch:
14+
915
push:
10-
# Path filters are not evaluated for pushes to tags.
11-
# (source: https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths)
12-
# So this workflow is triggered in the following events:
13-
# - Release event: a SemVer tag, e.g. v1.0.0 or v1.0.0-alpha, is pushed
1416
tags:
1517
- 'v[0-9]+.[0-9]+.[0-9]+*'
16-
# OR
17-
# - Test event: this file is modified on a branch in the main repo containing `/actions/` in the name.
18-
branches:
19-
- '**/actions/**'
20-
paths:
21-
- '**/workflows/release.yml'
2218

2319
jobs:
2420
build:

0 commit comments

Comments
 (0)