Skip to content

Commit d183eb0

Browse files
committed
ci(release): trigger on PR
1 parent b5444ee commit d183eb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '*.*.*'
7+
pull_request:
78

89
jobs:
910
luarocks-release:
@@ -20,8 +21,10 @@ jobs:
2021
dependencies: |
2122
LuaSnip
2223
- name: Fail if changelog entry does not exist
24+
if: startsWith(github.ref, 'refs/tags/')
2325
run: grep -q "${{ github.ref_name }}" CHANGELOG.md
2426
- name: GitHub release
27+
if: startsWith(github.ref, 'refs/tags/')
2528
uses: ncipollo/release-action@v1
2629
with:
2730
bodyFile: "CHANGELOG.md"

0 commit comments

Comments
 (0)