Skip to content

Commit 0682c2a

Browse files
authored
Hardening the CI in relation to PRs
1 parent d9d7cf8 commit 0682c2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build
22
on:
3-
[push]
3+
push:
4+
pull_request_target:
5+
types: [labeled]
46
jobs:
57
build:
68
name: Build and Test
@@ -46,4 +48,4 @@ jobs:
4648
with:
4749
token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
4850
generate_release_notes: true
49-
prerelease: true
51+
prerelease: true

0 commit comments

Comments
 (0)