Skip to content

Commit

Permalink
Merge pull request #40 from input-output-hk/coot/ci-changelogs
Browse files Browse the repository at this point in the history
Moved check-changelogs to a separate workflow
  • Loading branch information
coot authored Nov 6, 2023
2 parents 1180cba + 2605870 commit 3be3ad3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Checks
on:
pull_request:
types:
- opened
- synchronize
merge_group:
jobs:
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@v4

- name: git fetch
run: git fetch origin master:master

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

21 changes: 1 addition & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Tests
on:
push:
branches:
Expand Down Expand Up @@ -37,22 +37,3 @@ jobs:
- run: cabal test
- run: cabal haddock
- run: cabal sdist

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@v4

- name: git fetch
run: git fetch origin master:master

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

0 comments on commit 3be3ad3

Please sign in to comment.