Skip to content

Commit e52faa5

Browse files
committed
ci: run release ci only for pr for main
1 parent 8053502 commit e52faa5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/android_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Android Release ## name of the workflow
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
pull_request:
5+
types: [closed]
76

87
permissions:
98
contents: write
109

1110
jobs:
1211
android-release:
12+
if: github.event.pull_request.merged == true || github.ref_name == 'main'
1313
name: Android Release
1414
runs-on: ubuntu-latest # using ubuntu latest version / or you can use a specific version
1515

0 commit comments

Comments
 (0)