Skip to content

Commit

Permalink
Prevent ci.yml from running twice on PR commits
Browse files Browse the repository at this point in the history
  • Loading branch information
djahandarie committed Nov 10, 2023
1 parent 6b51d59 commit 56a82ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: CI
permissions:
contents: read

on: [push, pull_request]
on:
push:
branches: [master]
pull_request:
merge_group:

jobs:
test:
Expand Down

0 comments on commit 56a82ef

Please sign in to comment.