Skip to content

Commit 38f6846

Browse files
committed
CI cost control: disable automatic binary builds
- build.yml: manual-only (workflow_dispatch) - build_and_release_template.yml: manual-only by default - release.yml: confirmed tag-only trigger with warning This prevents surprise build runner costs; run builds explicitly from Actions or by pushing tags.
1 parent a19bdf7 commit 38f6846

3 files changed

Lines changed: 4 additions & 26 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
name: build-binaries
22

33
on:
4-
pull_request:
5-
branches: [ master ]
6-
paths:
7-
- '**/*.py'
8-
- '.github/workflows/**'
9-
- 'requirements.txt'
10-
push:
11-
branches:
12-
- master
13-
- ci-build-and-no-audio-asf
14-
paths:
15-
- '**/*.py'
16-
- '.github/workflows/**'
17-
- 'requirements.txt'
4+
# Disable automatic triggers to avoid unexpected costs; run manually from the Actions tab
185
workflow_dispatch: {}
196

207
jobs:

.github/workflows/build_and_release_template.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,8 @@ name: build-and-release-template
77
# 4) Push to default branch to build; create a tag vX.Y.Z to publish a Release with assets.
88

99
on:
10-
push:
11-
branches: [ master, main ]
12-
paths:
13-
- '**/*.py'
14-
- '.github/workflows/**'
15-
- 'requirements.txt'
16-
pull_request:
17-
branches: [ master, main ]
18-
paths:
19-
- '**/*.py'
20-
- '.github/workflows/**'
21-
- 'requirements.txt'
10+
# Template disabled by default to avoid unintentional runs/costs.
11+
# To use it, copy to a new workflow file and enable triggers explicitly.
2212
workflow_dispatch: {}
2313

2414
env:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: release
22

33
on:
4+
# Release builds run on tag pushes only; tag creation is a deliberate action.
45
push:
56
tags:
67
- 'v*'

0 commit comments

Comments
 (0)