-
-
Notifications
You must be signed in to change notification settings - Fork 953
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
238 changed files
with
17,645 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gradle | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
target-branch: 5.0.x | ||
labels: | ||
- "type: dependency upgrade" | ||
ignore: | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-patch", "version-update:semver-minor"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
name-template: $RESOLVED_VERSION | ||
tag-template: v$RESOLVED_VERSION | ||
pull-request: | ||
title-templates: | ||
fix: 'π $TITLE (#$NUMBER)' | ||
feat: 'π $TITLE (#$NUMBER)' | ||
default: '$TITLE (#$NUMBER)' | ||
autolabeler: | ||
- label: 'bug' | ||
branch: | ||
- '/fix\/.+/' | ||
title: | ||
- '/fix/i' | ||
- label: 'improvement' | ||
branch: | ||
- '/improv\/.+/' | ||
title: | ||
- '/improv/i' | ||
- label: 'feature' | ||
branch: | ||
- '/feature\/.+/' | ||
title: | ||
- '/feat/i' | ||
- label: 'documentation' | ||
branch: | ||
- '/docs\/.+/' | ||
title: | ||
- '/docs/i' | ||
- label: 'maintenance' | ||
branch: | ||
- '/(chore|refactor|style|test|ci|perf|build)\/.+/' | ||
title: | ||
- '/(chore|refactor|style|test|ci|perf|build)/i' | ||
- label: 'chore' | ||
branch: | ||
- '/chore\/.+/' | ||
title: | ||
- '/chore/i' | ||
- label: 'refactor' | ||
branch: | ||
- '/refactor\/.+/' | ||
title: | ||
- '/refactor/i' | ||
- label: 'style' | ||
branch: | ||
- '/style\/.+/' | ||
title: | ||
- '/style/i' | ||
- label: 'test' | ||
branch: | ||
- '/test\/.+/' | ||
title: | ||
- '/test/i' | ||
- label: 'ci' | ||
branch: | ||
- '/ci\/.+/' | ||
title: | ||
- '/ci/i' | ||
- label: 'perf' | ||
branch: | ||
- '/perf\/.+/' | ||
title: | ||
- '/perf/i' | ||
- label: 'build' | ||
branch: | ||
- '/build\/.+/' | ||
title: | ||
- '/build/i' | ||
- label: 'deps' | ||
branch: | ||
- '/deps\/.+/' | ||
title: | ||
- '/deps/i' | ||
- label: 'revert' | ||
branch: | ||
- '/revert\/.+/' | ||
title: | ||
- '/revert/i' | ||
categories: | ||
- title: 'π Features' | ||
labels: | ||
- 'feature' | ||
- "type: enhancement" | ||
- "type: new feature" | ||
- "type: major" | ||
- "type: minor" | ||
- title: 'π‘ Improvements' | ||
labels: | ||
- 'improvement' | ||
- "type: improvement" | ||
|
||
- title: 'π Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bug' | ||
- "type: bug" | ||
- title: 'π Documentation' | ||
labels: | ||
- 'docs' | ||
- title: 'π§ Maintenance' | ||
labels: | ||
- 'maintenance' | ||
- 'chore' | ||
- 'refactor' | ||
- 'style' | ||
- 'test' | ||
- 'ci' | ||
- 'perf' | ||
- 'build' | ||
- "type: ci" | ||
- "type: build" | ||
- title: 'βͺ Reverts' | ||
labels: | ||
- 'revert' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'type: major' | ||
minor: | ||
labels: | ||
- 'type: minor' | ||
patch: | ||
labels: | ||
- 'type: patch' | ||
default: patch | ||
template: | | ||
## What's Changed | ||
$CHANGES | ||
## Contributors | ||
$CONTRIBUTORS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"labels": ["type: dependency upgrade"], | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchPackagePatterns": ["*"], | ||
"allowedVersions": "!/SNAPSHOT$/" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"^org\\.codehaus\\.groovy" | ||
], | ||
"groupName": "groovy monorepo" | ||
}, | ||
{ | ||
"matchPackageNames": [ | ||
"org.grails:grails-bom", | ||
"org.grails:grails-bootstrap", | ||
"org.grails:grails-codecs", | ||
"org.grails:grails-console", | ||
"org.grails:grails-core", | ||
"org.grails:grails-databinding", | ||
"org.grails:grails-dependencies", | ||
"org.grails:grails-docs", | ||
"org.grails:grails-encoder", | ||
"org.grails:grails-gradle-model", | ||
"org.grails:grails-logging", | ||
"org.grails:grails-plugin-codecs", | ||
"org.grails:grails-plugin-controllers", | ||
"org.grails:grails-plugin-databinding", | ||
"org.grails:grails-plugin-datasource", | ||
"org.grails:grails-plugin-domain-class", | ||
"org.grails:grails-plugin-i18n", | ||
"org.grails:grails-plugin-interceptors", | ||
"org.grails:grails-plugin-mimetypes", | ||
"org.grails:grails-plugin-rest", | ||
"org.grails:grails-plugin-services", | ||
"org.grails:grails-plugin-url-mappings", | ||
"org.grails:grails-plugin-url-validation", | ||
"org.grails:grails-shell", | ||
"org.grails:grails-spring", | ||
"org.grails:grails-test", | ||
"org.grails:grails-validation", | ||
"org.grails:grails-web", | ||
"org.grails:grails-web-boot", | ||
"org.grails:grails-web-common", | ||
"org.grails:grails-web-databinding", | ||
"org.grails:grails-web-fileupload", | ||
"org.grails:grails-web-mvc", | ||
"org.grails:grails-web-url-mappings" | ||
], | ||
"groupName": "grails monorepo" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: "Java CI" | ||
on: | ||
push: | ||
branches: | ||
- '[5-9]+.[0-9]+.x' | ||
pull_request: | ||
branches: | ||
- '[5-9]+.[0-9]+.x' | ||
jobs: | ||
build: | ||
name: "Build Project" | ||
runs-on: ubuntu-24.04 | ||
permissions: | ||
contents: read | ||
packages: read | ||
steps: | ||
- name: "π₯ Checkout the repository" | ||
uses: actions/checkout@v4 | ||
- name: "βοΈ Setup JDK" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'liberica' | ||
java-version: '17' | ||
- name: "π Setup Gradle" | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
- name: "π¨ Run Build" | ||
id: build | ||
env: | ||
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
run: ./gradlew build --continue | ||
publish: | ||
name: "Publish Snapshot" | ||
if: github.event_name == 'push' | ||
needs: build | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: "π₯ Checkout the repository" | ||
uses: actions/checkout@v4 | ||
- name: "βοΈ Setup JDK" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: liberica | ||
java-version: 17 | ||
- name: "π Setup Gradle" | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
- name: "π€ Publish Snapshot to repo.grails.org" | ||
env: | ||
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | ||
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
run: ./gradlew publish | ||
docs: | ||
name: "Publish Snapshot Documentation" | ||
if: github.event_name == 'push' | ||
needs: build | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: "π₯ Checkout the repository" | ||
uses: actions/checkout@v4 | ||
- name: "βοΈ Setup JDK" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: liberica | ||
java-version: 17 | ||
- name: "π Setup Gradle" | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | ||
- name: "π¨ Build Docs" | ||
id: docs | ||
run: ./gradlew docs | ||
- name: "π€ Publish docs to Github Pages" | ||
if: steps.docs.outcome == 'success' | ||
uses: grails/github-pages-deploy-action@v2 | ||
env: | ||
TARGET_REPOSITORY: ${{ github.repository }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: docs/build/docs | ||
COMMIT_EMAIL: grails-build@users.noreply.github.com | ||
COMMIT_NAME: grails-build |
Oops, something went wrong.