Skip to content

Commit 31be9cd

Browse files
committed
ci: disable scheduled runs; disable release on ci/ branches
1 parent 7a8bfb2 commit 31be9cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Build
22
on:
3-
pull_request: # to master
4-
schedule:
5-
- cron: "0 0 * * 0"
3+
pull_request: # to master only; tests/lint only;
4+
#schedule:
5+
# - cron: "0 0 * * 0"
66
push:
77
branches:
8-
- "ci/**" # CI debugging
9-
- "v*" # version branches
8+
- "ci/**" # CI debugging -- release job normally disabled (see below)
9+
- "v*" # version branches (was in Travis; but how exactly we manage them?)
1010
- "master"
1111
jobs:
1212
lint:
@@ -59,8 +59,8 @@ jobs:
5959
env:
6060
SMOKETEST_DOCKER_IMAGE: python:${{ steps.setup.outputs.python-version }}
6161
release:
62-
# TODO: disable ci glob when CI is stabilized
63-
if: ( github.ref_name == 'master' || startsWith(github.ref_name, 'ci/') )
62+
#if: ( github.ref_name == 'master' || startsWith(github.ref_name, 'ci/') )
63+
if: github.ref_name == 'master'
6464
needs: ['smoketest','lint','test']
6565
runs-on: ubuntu-latest
6666
steps:

0 commit comments

Comments
 (0)