Skip to content

Commit b4de1c3

Browse files
authored
Don't run Build-Release workflow on every PR, reduce CI overhead (#4726)
--- DESC: Don't run Build-Release workflow on every PR, reduce CI overhead TYPE: NO_HISTORY
1 parent 5509b27 commit b4de1c3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
name: Release
22

33
on:
4-
pull_request:
5-
branches:
6-
- '*' # must quote since "*" is a YAML reserved character; we want a string
7-
paths-ignore:
8-
- '.github/workflows/quarto-render.yml'
9-
- '_quarto.yml'
10-
- 'quarto-materials/*'
11-
- '**/.md'
12-
- 'tiledb/doxygen/source/*'
13-
- 'tiledb/sm/c_api/tiledb_version.h'
144
push:
155
branches:
166
- dev
177
- 'release-*'
188
tags:
199
- '*'
10+
workflow_dispatch:
2011

2112
jobs:
2213
Build-Release:
@@ -58,7 +49,7 @@ jobs:
5849
uses: actions/checkout@v3
5950
- name: 'Homebrew setup'
6051
run: brew install automake pkg-config
61-
if: ${{ startsWith(matrix.os, 'macos-') == true }}
52+
if: ${{ startsWith(matrix.os, 'macos-') == true }}
6253
- name: Export GitHub Actions cache variables
6354
uses: actions/github-script@v6
6455
with:

0 commit comments

Comments
 (0)