Run CI only on dev/master/main branches/PRs
This commit is contained in:
14
.github/workflows/chipyard-run-tests.yml
vendored
14
.github/workflows/chipyard-run-tests.yml
vendored
@@ -1,6 +1,18 @@
|
|||||||
name: chipyard-ci-process
|
name: chipyard-ci-process
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
# run ci when pushing to dev, master, and main only
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
# run ci on pull requests targeting dev, master, main only
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
tools-cache-version: v13
|
tools-cache-version: v13
|
||||||
|
|||||||
Reference in New Issue
Block a user