Skip to content

Commit 56fe52f

Browse files
committed
CI: run the preview-changelog job on main and manually as well as PRs.
1 parent 4d8171f commit 56fe52f

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/changelog_check.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@
55
name: Changelog
66
on:
77
pull_request:
8+
push:
9+
branches:
10+
- main
11+
workflow_dispatch:
812

913
permissions:
1014
contents: read
1115

1216
jobs:
1317
check-newsfile:
14-
if: ${{ (github.base_ref == 'main' || contains(github.base_ref, 'release-')) && github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }}
18+
if: ${{ (github.event_name == 'pull_request') && (github.base_ref == 'main' || contains(github.base_ref, 'release-')) && github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }}
1519
runs-on: ubuntu-latest
1620
steps:
1721
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

.github/workflows/matrix-tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ name: Build matrix-tool Docker Images
66

77
on:
88
pull_request:
9-
workflow_dispatch:
109
push:
1110
branches:
1211
- main
1312
tags:
1413
- 'matrix-tools-*'
14+
workflow_dispatch:
1515

1616
env:
1717
REGISTRY_IMAGE: ghcr.io/${{ github.repository }}/matrix-tools

newsfragments/599.internal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CI: run the preview-changelog job on main and manually as well as PRs.

0 commit comments

Comments
 (0)