Only run snap workflow on push and PR

This commit is contained in:
Ken VanDine
2024-12-30 14:06:57 -05:00
committed by Mitchell Hashimoto
parent bf49784b7d
commit eae420a241

View File

@ -1,8 +1,10 @@
name: Snap
on:
push: {}
pull_request: {}
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
jobs:
@ -11,4 +13,3 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: snapcraft