Skip to content

Commit b6360ab

Browse files
authored
feat(ci): add exclude-types input to deploy.yml, fix(ci): check-docs.yml (#26)
1 parent 3d5a887 commit b6360ab

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/check-docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v4
11+
# Pillow installation requires some system packages
12+
- uses: awalsh128/cache-apt-pkgs-action@latest
13+
with:
14+
packages: libjpeg-dev zlib1g-dev
15+
version: 1.0
1116
- name: Check mkdocs
1217
uses: deargen/workflows/actions/check-mkdocs@master
1318
with:

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
description: Dry run
1212
type: boolean
1313
default: false
14+
exclude-types:
15+
description: Commit types to exclude from the changelog
16+
required: false
17+
default: build,docs,style,other
1418

1519
jobs:
1620
commit-changelog-and-release:
@@ -19,7 +23,7 @@ jobs:
1923
version-tag: ${{ github.event.inputs.version-tag }}
2024
dry-run: ${{ github.event.inputs.dry-run == 'true' }}
2125
changelog-path: docs/CHANGELOG.md
22-
exclude-types: build,docs,style,other
26+
exclude-types: ${{ github.event.inputs.exclude-types }}
2327

2428
deploy-mkdocs:
2529
if: ${{ github.event.inputs.dry-run == 'false' }}

0 commit comments

Comments
 (0)