-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release/0.27.0
- Loading branch information
Showing
12 changed files
with
121 additions
and
99 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,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
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 @@ | ||
feature: | ||
- any: | ||
- head-branch: [ '^feature' ] | ||
fix: | ||
- any: | ||
- head-branch: [ '^fix', '^hotfix' ] | ||
chore: | ||
- any: | ||
- head-branch: [ '^chore', '^documentation', '^docs', '^ci', '^refactor' ] | ||
release: | ||
- all: | ||
- base-branch: [ 'main', 'master' ] | ||
- head-branch: [ 'development', 'dev' ] |
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
|
@@ -11,24 +11,28 @@ jobs: | |
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 1.8 | ||
distribution: 'zulu' | ||
java-version: '8' | ||
settings-path: ${{ github.workspace }} | ||
|
||
- name: Load local Maven repository cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Set up git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "JohnnyQ5" | ||
- name: Set version in Maven project | ||
run: mvn versions:set -DnewVersion=${{ github.event.inputs.versionTag }} | ||
|
||
|
@@ -40,20 +44,21 @@ jobs: | |
&& !( contains(github.event.inputs.versionTag, 'alpha') | ||
|| contains(github.event.inputs.versionTag, 'beta') | ||
|| contains(github.event.inputs.versionTag, 'rc')) }} | ||
uses: actions/github-script@v4.0.2 | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
await github.request(`POST /repos/${{ github.repository }}/releases`, { | ||
tag_name: "${{ github.event.inputs.versionTag }}", | ||
generate_release_notes: true | ||
}); | ||
- name: Create Pre-Release Notes | ||
if: ${{ !startsWith(github.ref, 'refs/tags/') | ||
&& ( contains(github.event.inputs.versionTag, 'alpha') | ||
|| contains(github.event.inputs.versionTag, 'beta') | ||
|| contains(github.event.inputs.versionTag, 'rc')) }} | ||
uses: actions/github-script@v4.0.2 | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
|
@@ -62,6 +67,7 @@ jobs: | |
generate_release_notes: true, | ||
prerelease: true | ||
}); | ||
- name: Publish artefact to QBiC Nexus Repository | ||
run: mvn --quiet --settings $GITHUB_WORKSPACE/.github.settings.xml deploy | ||
env: | ||
|
@@ -81,23 +87,12 @@ jobs: | |
run: git push | ||
|
||
- name: Open PR with version bump | ||
uses: actions/github-script@v4.0.2 | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
await github.request(`POST /repos/${{ github.repository }}/pulls`, { | ||
title: 'Update version to ${{ github.event.inputs.versionTag }}', | ||
head: 'release/set-version-to-${{ github.event.inputs.versionTag }}', | ||
base: 'master' | ||
}); | ||
- name: Open PR to development | ||
uses: actions/[email protected] | ||
with: | ||
github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} | ||
script: | | ||
await github.request(`POST /repos/${{ github.repository }}/pulls`, { | ||
title: 'Merge release ${{ github.event.inputs.versionTag }} into development', | ||
head: 'master', | ||
base: 'development' | ||
base: 'main' | ||
}); |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
name: Label Pull Requests | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
on: | ||
pull_request: | ||
types: [ opened, edited ] | ||
|
||
jobs: | ||
Assign-Label-To-Pull-Request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
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
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
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
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