5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 07:41:37 +08:00

Run tests on approval

This commit is contained in:
Lea Anthony 2022-10-12 21:12:16 +11:00
parent c78f59bbc1
commit c62c915fdc
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -1,6 +1,8 @@
name: PR Checks
on:
pull_request:
pull_request_review:
types: [ submitted ]
jobs:
check_branch_name:
@ -18,7 +20,7 @@ jobs:
test:
name: Run Go Tests
runs-on: ${{ matrix.os }}
needs: check_branch_name
if: github.event.review.state == 'approved'
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]