Skip to content

Commit 2696248

Browse files
committed
fix: don't trigger the workflow in pull_request_target and push event
1 parent d42371f commit 2696248

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,10 @@ on:
88
description: 'Custom version (optional)'
99
required: false
1010
type: string
11-
pull_request_target:
12-
types:
13-
- closed
14-
branches:
15-
- 'main'
16-
17-
push:
18-
branches:
19-
- 'main'
11+
12+
concurrency:
13+
group: release-${{ github.ref }}
14+
cancel-in-progress: false
2015

2116
jobs:
2217
release:

0 commit comments

Comments
 (0)