Merge pull request 'release' (#4) from main into release
All checks were successful
Release / Release (push) Successful in 27s

Reviewed-on: #4
This commit is contained in:
Jan K9f 2025-06-19 12:13:54 +00:00
commit f238c9aae9
Signed by:
SSH key fingerprint: SHA256:lXEoR6LJYqfrLFi9ELE9o8JyzF7bLKBUlelXoro5APw
7 changed files with 47 additions and 5 deletions

19
.gitea/size.yml Normal file
View file

@ -0,0 +1,19 @@
buckets:
- maxSize: 80
label: size/small
comment: null
- maxSize: 200
label: size/medium
comment: null
- maxSize: 2000
label: size/large
comment: >
👮‍♀️⚠️ This is a friendly reminder that the diff size of this PR is bigger than
200 lines we aim for. Please consider splitting this PR into more digestible pieces!
- maxSize: Infinity
label: size/huge
comment: >
👮‍♀️🛑 This PR's diff size is quite huge.
Hopefully you know what you're doing.
If you did not commit a lot of autogenerated files intentionally,
there are few good reasons for this.

View file

@ -2,7 +2,7 @@ name: Release
on: on:
push: push:
branches: branches:
- "main" - "release"
env: env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}

17
.gitea/workflows/size.yml Normal file
View file

@ -0,0 +1,17 @@
name: Label PRs based on size
on: [pull_request]
jobs:
add_pr_size_label:
runs-on: ubuntu-latest
name: Check PR size
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Label and comment PR
uses: boschresearch/pr-size-labeler@v5.0.1
with:
bucketConfigFile: ".gitea/size.yml"

View file

@ -1,3 +1,9 @@
## [0.2.1](https://git.kjan.de/jank/project-cli/compare/v0.2.0...v0.2.1) (2025-06-19)
### Chores
* Add size pipeline ([8212b10](https://git.kjan.de/jank/project-cli/commit/8212b10e2572e2e6e34775858391dc1fadb9686c))
## [0.2.0](https://git.kjan.de/jank/project-cli/compare/v0.1.1...v0.2.0) (2025-06-19) ## [0.2.0](https://git.kjan.de/jank/project-cli/compare/v0.1.1...v0.2.0) (2025-06-19)
### Features ### Features

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "proj-cli", "name": "proj-cli",
"version": "0.2.0", "version": "0.2.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "proj-cli", "name": "proj-cli",
"version": "0.2.0", "version": "0.2.1",
"dependencies": { "dependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0", "@saithodev/semantic-release-gitea": "^2.1.0",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",

View file

@ -1,6 +1,6 @@
{ {
"name": "proj-cli", "name": "proj-cli",
"version": "0.2.0", "version": "0.2.1",
"module": "index.ts", "module": "index.ts",
"type": "module", "type": "module",
"devDependencies": { "devDependencies": {

View file

@ -1,5 +1,5 @@
module.exports = { module.exports = {
branches: ["main"], branches: ["release"],
plugins: [ plugins: [
[ [
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",