Skip to content

Commit

Permalink
Validate on PR merge (#1487)
Browse files Browse the repository at this point in the history
Co-authored-by: ben-githubs <[email protected]>
  • Loading branch information
2 people authored and le4ker committed Jan 28, 2025
1 parent d9b17c2 commit ca79a48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
on:
pull_request_review:
types: [submitted]
pull_request:
types:
- closed

permissions:
contents: read

jobs:
validate:
if: github.event.review.state == 'approved' && github.event.pull_request.head.repo.fork == false
if: github.event.pull_request.merged == true
name: Validate
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit ca79a48

Please sign in to comment.