Skip to content

Commit a6055ec

Browse files
pushpit kambojpushpit kamboj
authored andcommitted
[change] Add PR approved checks
1 parent 4781572 commit a6055ec

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/bot-changelog.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ on:
77

88
jobs:
99
changelog:
10-
# Call the reusable workflow from openwisp-utils
10+
if: |
11+
github.event.review.state == 'approved' &&
12+
(github.event.review.author_association == 'OWNER' ||
13+
github.event.review.author_association == 'MEMBER' ||
14+
github.event.review.author_association == 'COLLABORATOR')
1115
uses: openwisp/openwisp-utils/.github/workflows/reusable-bot-changelog.yml@master
1216
secrets:
1317
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}

0 commit comments

Comments
 (0)