Skip to content

Commit b8033c2

Browse files
authored
ci: only run changelog checker in PR (#2370)
1 parent bae5fdb commit b8033c2

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check new CHANGELOGs
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
check_new_changelog:
12+
runs-on: ubuntu-20.04
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v4
16+
17+
- name: check new CHANGELOG
18+
uses: ./.github/actions/check_new_changelog

.github/workflows/ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ env:
1616
MSRV: 1.69.0
1717

1818
jobs:
19-
check_new_changelog:
20-
runs-on: ubuntu-20.04
21-
steps:
22-
- name: checkout
23-
uses: actions/checkout@v4
24-
25-
- name: check new CHANGELOG
26-
uses: ./.github/actions/check_new_changelog
27-
2819
macos:
2920
runs-on: macos-13
3021
env:

0 commit comments

Comments
 (0)