mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-25 16:46:55 +00:00
.github/workflows: Avoid duplicate branch builds
Run CI and package builds for pull requests and for pushes to master. Avoid running both event types for each same-repository PR update. Keep manual package workflow runs available.
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
WERROR: 'y'
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
name: Packages
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user