Skip to content

Commit 871d9c0

Browse files
committed
Put check-chengelog in a separate workflow
So we don't get red badge when it fails.
1 parent 421598e commit 871d9c0

File tree

2 files changed

+29
-19
lines changed

2 files changed

+29
-19
lines changed

.github/workflows/checks.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Cheks
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
merge_group:
8+
9+
jobs:
10+
11+
check-changelogs:
12+
name: changelogs
13+
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
shell: bash
17+
18+
steps:
19+
- name: Install dependencies
20+
run: sudo apt install -y fd-find
21+
22+
- uses: actions/checkout@v3
23+
24+
- name: git fetch
25+
run: git fetch origin main:main
26+
27+
- name: Check changelogs
28+
run: ./scripts/check-changelogs.sh
29+

.github/workflows/haskell.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -188,22 +188,3 @@ jobs:
188188
run: |
189189
./scripts/check-stylish.sh
190190
git diff --exit-code
191-
192-
check-changelogs:
193-
name: Check changelogs
194-
runs-on: ubuntu-latest
195-
defaults:
196-
run:
197-
shell: bash
198-
199-
steps:
200-
- name: Install dependencies
201-
run: sudo apt install -y fd-find
202-
203-
- uses: actions/checkout@v3
204-
205-
- name: git fetch
206-
run: git fetch origin main:main
207-
208-
- name: Check changelogs
209-
run: ./scripts/check-changelogs.sh

0 commit comments

Comments
 (0)