Skip to content

Commit

Permalink
ci: only run changelog checker in PR (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Apr 13, 2024
1 parent bae5fdb commit b8033c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/check_new_changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check new CHANGELOGs

on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read

jobs:
check_new_changelog:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4

- name: check new CHANGELOG
uses: ./.github/actions/check_new_changelog
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ env:
MSRV: 1.69.0

jobs:
check_new_changelog:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4

- name: check new CHANGELOG
uses: ./.github/actions/check_new_changelog

macos:
runs-on: macos-13
env:
Expand Down

0 comments on commit b8033c2

Please sign in to comment.