Skip to content

Commit

Permalink
update: prevent duplicate ci runs on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Zen-cronic committed Jan 6, 2025
1 parent 85e9c18 commit 76b1646
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Node.js CI

on: [push, pull_request]

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 76b1646

Please sign in to comment.