mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 20:40:33 +08:00
Run tests on approval
This commit is contained in:
parent
c78f59bbc1
commit
c62c915fdc
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
@ -1,6 +1,8 @@
|
|||||||
name: PR Checks
|
name: PR Checks
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
pull_request_review:
|
||||||
|
types: [ submitted ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_branch_name:
|
check_branch_name:
|
||||||
@ -18,7 +20,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: Run Go Tests
|
name: Run Go Tests
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
needs: check_branch_name
|
if: github.event.review.state == 'approved'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||||
|
Loading…
Reference in New Issue
Block a user