Skip to content

Commit

Permalink
Merge branch 'main' into issues/236_refactor_test_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollovati authored Oct 15, 2023
2 parents b00fd61 + 31de4c0 commit d219e8e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ updates:
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "maven"
directory: "/"
target-branch: "2.2"
schedule:
interval: "daily"
ignore:
- dependency-name: "dev.hilla:*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "com.vaadin:*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: "maven"
directory: "/"
target-branch: "2.1"
schedule:
interval: "daily"
ignore:
- dependency-name: "dev.hilla:*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "com.vaadin:*"
update-types: [ "version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: "maven"
directory: "/"
target-branch: "1.0"
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ on:
type: choice
default: 'main'
options:
- main
- "main"
- "2.2"
- "2.1"
- "1.0"
version:
description: "Version to release (e.g. 1.1.0 or 1.2.0-alpha1)"
Expand Down Expand Up @@ -59,12 +61,17 @@ jobs:
| tee -a $GITHUB_STEP_SUMMARY
exit 1
fi
if [[ "${{ inputs.target-branch }}" != "main" && ! "${{ inputs.version }}" = "${{ inputs.target-branch }}."* ]]; then
echo "ERROR: Invalid version specified: '${{ inputs.version }}' does not match the release branch '${{ inputs.target-branch }}'." \
| tee -a $GITHUB_STEP_SUMMARY
exit 1
fi
if git rev-parse -q --verify "refs/tags/${{ inputs.version }}" > /dev/null; then
echo "🚫 Version ${{ inputs.version }} already exists. Please choose a different version." \
echo "🚫 Version '${{ inputs.version }}' already exists. Please choose a different version." \
| tee -a $GITHUB_STEP_SUMMARY
exit 1
fi
echo "Releasing version '${{ inputs.version }}' from branch '${{ inputs.target-branch }}'." >> $GITHUB_STEP_SUMMARY
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-npm-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
default: 'main'
options:
- "main"
- "2.2"
- "2.1"
- "1.0"
schedule:
- cron: '0 2 * * *'
Expand All @@ -25,7 +27,7 @@ jobs:
id: set-matrix
run: |
if [[ -z "${{ inputs.target-branch }}" ]]; then
echo 'matrix={ "branch": ["main","1.0"] }' >> "$GITHUB_OUTPUT"
echo 'matrix={ "branch": ["main","2.2","2.1","1.0"] }' >> "$GITHUB_OUTPUT"
else
echo 'matrix={ "branch": ["${{ inputs.target-branch }}"] }' >> "$GITHUB_OUTPUT"
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Quarkus Hilla Validation
on:
push:
branches: [main, '1.0']
branches: [main, '2.2', '2.1', '2.0', '1.0']
workflow_dispatch:
pull_request_target:
types: [opened, synchronize, reopened, edited]
Expand Down

0 comments on commit d219e8e

Please sign in to comment.