Skip to content

Commit

Permalink
Merge pull request #4 from frontChapter/run-tests-after-approve
Browse files Browse the repository at this point in the history
ci: run test only when approved
  • Loading branch information
AmirHosseinKarimi committed Jan 11, 2024
2 parents 5185f1c + 086b177 commit 0ff1abe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ on:
branches:
- dev
- main
types:
- opened
- edited
- synchronize
- reopened
- submitted

jobs:
lints:
if: github.event.review.state == 'approved'
runs-on: ubuntu-latest
steps:
- name: Check out files from GitHub
Expand Down

0 comments on commit 0ff1abe

Please sign in to comment.