Skip to content

Commit

Permalink
returned
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseno2186 committed Jul 22, 2024
1 parent ece24b8 commit 8f0710b
Show file tree
Hide file tree
Showing 20 changed files with 4,338 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# top-most EditorConfig file
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space

[*.{java,xml}]
indent_size = 4
trim_trailing_whitespace = true
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: 'maven'
directory: '/'
schedule:
interval: 'daily'
time: '00:00'
open-pull-requests-limit: 15

- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
time: '00:00'
open-pull-requests-limit: 10
45 changes: 45 additions & 0 deletions .github/release_drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '✨ Features'
labels:
- 'feature'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'chore'

change-template: '- $TITLE (#$NUMBER by @$AUTHOR)'
change-title-escapes: '\<*_&'
# You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
exclude-labels:
- 'skip-changelog'
template: |
## What's changed
$CHANGES
autolabeler:
- label: 'chore'
branch:
- '/chore\/.+/'
- label: 'bug'
branch:
- '/bug\/.+/'
- '/bugfix\/.+/'
- '/hotfix\/.+/'
- label: 'feature'
branch:
- '/feature\/.+/'
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: CI

on:
push:
branches:
- master
tags-ignore:
- "*"
pull_request:
branches:
- master
workflow_dispatch: {}

concurrency:
group: build-java-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/ci.yml@main
with:
publish_snapshots: true
java_test_versions: '[11,17,21]'
secrets:
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }}
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }}
sonar_token: ${{ secrets.SONAR_TOKEN }}
44 changes: 44 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Release

on:
workflow_dispatch:
inputs:
java_version:
description: Java version to use
type: string
required: false
default: 17
releaseVersion:
description: "Default version to use when preparing a release."
required: true
default: "X.Y.Z"
developmentVersion:
description: "Default version to use for new local working copy."
required: true
default: "X.Y.Z-SNAPSHOT"
dryRun:
description: "Perform a dry run"
required: true
default: false
type: boolean
assets:
description: "Path expression for Assets to upload."
type: string
required: false
default: "target/checkout/cli/neo4jv?/target/*-distribution.zip"

jobs:
build:
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/release.yml@main
with:
releaseVersion: ${{ github.event.inputs.releaseVersion }}
developmentVersion: ${{ github.event.inputs.developmentVersion }}
dryRun: ${{ github.event.inputs.dryRun }}
assets : ${{ github.event.inputs.assets }}
secrets:
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }}
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }}
sonar_token: ${{ secrets.SONAR_TOKEN }}
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Release

on:
workflow_dispatch:
inputs:
java_version:
description: Java version to use
type: string
required: false
default: 17
releaseVersion:
description: "Default version to use when preparing a release."
required: true
default: "X.Y.Z"
developmentVersion:
description: "Default version to use for new local working copy."
required: true
default: "X.Y.Z-SNAPSHOT"
dryRun:
description: "Perform a dry run"
required: true
default: false
type: boolean
assets:
description: "Path expression for Assets to upload."
type: string
required: false
default: "target/checkout/cli/neo4jv?/target/*-distribution.zip"

jobs:
build:
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/release.yml@main
with:
releaseVersion: ${{ github.event.inputs.releaseVersion }}
developmentVersion: ${{ github.event.inputs.developmentVersion }}
dryRun: ${{ github.event.inputs.dryRun }}
assets : ${{ github.event.inputs.assets }}
secrets:
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }}
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }}
sonar_token: ${{ secrets.SONAR_TOKEN }}
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/.idea
*.iml
*.ipr
*~
*.log
.DS_Store
# Files we would like to have in our local repository, but not in the remote repository
*.ignore
release.properties
pom.xml.releaseBackup
.java-version
*.backup

# Files generated by the release tooling of jQAssistant
pom.xml.updatetorelease
pom.xml.updatetonextdevversion

# Ignore temporary shell scripts used to script small tasks
*.sh.ignore

# Maven related files and directories
target
/.mvn
Loading

0 comments on commit 8f0710b

Please sign in to comment.