Skip to content

Commit ea94abc

Browse files
fclairambclaude
andauthored
chore: add semantic-pr and release-please workflows (#599)
- Add semantic-pr workflow to validate PR titles follow conventional commits - Add release-please workflow for automated releases - Update README.md to document MODE Z transfer compression support Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f90c6ac commit ea94abc

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release Please
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release-please:
13+
runs-on: ubuntu-24.04
14+
steps:
15+
- uses: googleapis/release-please-action@v4.4.0
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/semantic-pr.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Lint PR
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- reopened
8+
- edited
9+
10+
permissions:
11+
pull-requests: read
12+
13+
jobs:
14+
main:
15+
name: Validate PR title
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: amannn/action-semantic-pull-request@v6.1.1
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
scopes: |
23+
auth
24+
deps
25+
docs
26+
transfer
27+
tls
28+
driver
29+
server
30+
config
31+
release
32+
requireScope: false

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ If you're interested in a fully featured FTP server, you should use [sftpgo](htt
4242
* [HASH](https://tools.ietf.org/html/draft-bryan-ftpext-hash-02) - Hashing of files
4343
* [AVBL](https://tools.ietf.org/html/draft-peterson-streamlined-ftp-command-extensions-10#section-4) - Available space
4444
* [COMB](https://help.globalscape.com/help/archive/eft6-4/mergedprojects/eft/allowingmultiparttransferscomb_command.htm) - Combine files
45+
* [MODE Z](https://datatracker.ietf.org/doc/html/draft-preston-ftpext-deflate-04) - Transfer compression (deflate)
4546

4647
## Quick test
4748
The easiest way to test this library is to use [ftpserver](https://github.com/fclairamb/ftpserver).

0 commit comments

Comments
 (0)