Skip to content

Commit 49f7dec

Browse files
authored
Narrow bot workflow triggers to main branch only (#141)
The changelog-bot and release-notes-bot workflows triggered on pushes to all branches, but they only do real work on main — the entrypoint scripts exit early on any push that isn't from a merged PR. Running on every feature branch push just burns Actions minutes for nothing.
1 parent 3f0fd5a commit 49f7dec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/changelog-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Changelog Bot
33
on:
44
push:
55
branches:
6-
- '**'
6+
- main
77
tags-ignore:
88
- '**'
99
paths-ignore:

.github/workflows/release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release Notes
33
on:
44
push:
55
branches:
6-
- '**'
6+
- main
77
tags-ignore:
88
- '**'
99
paths-ignore:

0 commit comments

Comments
 (0)