Skip to content

Commit 984fd27

Browse files
authored
fix: don't trigger the workflow in pull_request_target and push event (#209)
## Description follow up on #207 - fix: don't trigger the workflow in `pull_request_target` and `push` event - fix: add missing gpg argument ## Checklist - [x] I have followed this repository's contributing guidelines. - [x] I will adhere to the project's code of conduct.
1 parent d42371f commit 984fd27

2 files changed

Lines changed: 5 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:

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@ limitations under the License.]]>
959959
</goals>
960960
<configuration>
961961
<gpgArguments>
962+
<arg>--batch</arg>
962963
<arg>--pinentry-mode</arg>
963964
<arg>loopback</arg>
964965
</gpgArguments>

0 commit comments

Comments
 (0)