Skip to content

Commit

Permalink
ci: only run push when on main branch
Browse files Browse the repository at this point in the history
Signed-off-by: Seren_Modz 21 <[email protected]>
  • Loading branch information
SerenModz21 committed Jun 23, 2024
1 parent aac15bb commit 3363e54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build Project

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

jobs:
build:
Expand Down

0 comments on commit 3363e54

Please sign in to comment.