Skip to content

Commit ef3b64c

Browse files
authored
Merge pull request #9810 from fgaz/changelog-required-fields
Add required-fields to changelog.d config
2 parents 99c21ba + 5168b01 commit ef3b64c

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

.github/workflows/changelogs.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ jobs:
4848
ghcup set ghc recommended
4949
- name: Update Hackage index
5050
run: cabal v2-update
51-
# Cannot install it from tarball due to
51+
# Cannot install it directly from remote tarball due to
5252
# https://github.com/haskell/cabal/issues/7360
53-
- uses: actions/checkout@v4
54-
with:
55-
repository: "fgaz/changelog-d"
56-
path: "changelog-d"
53+
- name: Fetch changelog-d
54+
run: |
55+
changelog_d_latest="$(curl https://codeberg.org/api/v1/repos/fgaz/changelog-d/branches/master | jq -r .commit.id)"
56+
echo "Using changelog-d revision $changelog_d_latest"
57+
curl "https://codeberg.org/fgaz/changelog-d/archive/$changelog_d_latest.tar.gz" -o changelog-d.tar.gz
58+
tar -xf changelog-d.tar.gz
5759
- name: Install changelog-d
5860
run: |
5961
pushd changelog-d

changelog.d/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
organization: haskell
22
repository: cabal
3+
required-fields: packages prs

changelog.d/issue-8680

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
synopsis: `cabal init` should not suggest Cabal < 2.0
22
packages: Cabal
33
issues: #8680
4+
prs: #8700
45

56
description: {
67

changelog.d/issue-9098-lexbraces

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
synopsis: Add LexBraces lexer warning
22
packages: Cabal-syntax
3-
issues: #8577
3+
issues: #9098
4+
prs: #9099
45

56
description: {
67

changelog.d/issue-9678

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ synopsis: Clarify the semantics of the -package-db flag
22
packages: cabal-install
33
prs:
44
issues: #9678
5+
prs: #9683
56

67
description: {
78

changelog.d/issue-9736

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
synopsis: Add support for `GHC2024`
22
packages: Cabal cabal-install
33
issues: #9736
4+
prs: #9791
45

56
description: {
67

changelog.d/pkgconfig-once

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
synopsis: PkgConfig individual calls
22
prs: #9134
3+
packages: cabal-install-solver
34

45
description: {
56

0 commit comments

Comments
 (0)