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 6f69cb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: CI
permissions:
contents: read

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

jobs:
test:
Expand Down

0 comments on commit 6f69cb7

Please sign in to comment.