Skip to content

Commit 658ccab

Browse files
committed
CI: on: pull_request and tags, not on main
1 parent b4e3cad commit 658ccab

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
version:2
2-
# you can add other package ecosystems here for granular control of security updates
3-
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
4-
# bundler, docker (FROM image), git submodules, go, npm, pip, terraform, all supported
5-
1+
version: 2
62
updates:
73
# Maintain dependencies for Actions
84
- package-ecosystem: "github-actions"
@@ -24,4 +20,4 @@ updates:
2420
timezone: "America/New_York"
2521
labels:
2622
- ":game_die: dependencies"
27-
- ":robot: bot"
23+
- ":robot: bot"

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ name: ci
66

77
on:
88
push:
9+
# We don't build on master or edge anymore. Only on PR and tags.
910
branches:
1011
- "ci"
1112
# Sequence of patterns matched against TAGS
1213
tags:
14+
- "[0-9]*"
15+
- "ci_*"
1316
paths-ignore:
1417
- "CHANGELOG.md"
15-
# Sequence of patterns matched against PR
18+
# Sequence of patterns matched against every PR
1619
pull_request:
1720
schedule:
1821
- cron: "0 5 * * *"

0 commit comments

Comments
 (0)