fix(ci): only run some GH actions on PR approval, not on every comment

This commit is contained in:
UdjinM6 2024-08-12 16:06:33 +03:00
parent 25eef1e8ca
commit 2777d30caa
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,8 @@ permissions:
on: on:
- push - push
- pull_request_target - pull_request_target
- pull_request_review - pull_request_review:
types: [submitted]
jobs: jobs:
check_merge: check_merge:

View File

@ -1,7 +1,8 @@
name: "Check Potential Conflicts" name: "Check Potential Conflicts"
on: on:
- pull_request_target - pull_request_target
- pull_request_review - pull_request_review:
types: [submitted]
permissions: permissions:
contents: read contents: read