Skip to content

Commit

Permalink
Put check-chengelog in a separate workflow
Browse files Browse the repository at this point in the history
So we don't get red badge when it fails.
  • Loading branch information
coot committed Jul 28, 2023
1 parent 421598e commit 871d9c0
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Cheks

on:
push:
branches: ["main"]
pull_request:
merge_group:

jobs:

check-changelogs:
name: changelogs
runs-on: ubuntu-latest
defaults:
run:
shell: bash

steps:
- name: Install dependencies
run: sudo apt install -y fd-find

- uses: actions/checkout@v3

- name: git fetch
run: git fetch origin main:main

- name: Check changelogs
run: ./scripts/check-changelogs.sh

19 changes: 0 additions & 19 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,22 +188,3 @@ jobs:
run: |
./scripts/check-stylish.sh
git diff --exit-code
check-changelogs:
name: Check changelogs
runs-on: ubuntu-latest
defaults:
run:
shell: bash

steps:
- name: Install dependencies
run: sudo apt install -y fd-find

- uses: actions/checkout@v3

- name: git fetch
run: git fetch origin main:main

- name: Check changelogs
run: ./scripts/check-changelogs.sh

0 comments on commit 871d9c0

Please sign in to comment.