Skip to content

Commit 38b8903

Browse files
committed
Release OpenProject 16.5.0
2 parents b169a02 + dec8898 commit 38b8903

File tree

2,141 files changed

+37105
-25386
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,141 files changed

+37105
-25386
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,45 @@ updates:
55
schedule:
66
interval: "daily"
77
target-branch: "dev"
8-
open-pull-requests-limit: 3
9-
versioning-strategy: lockfile-only
108
groups:
119
angular:
1210
patterns:
1311
- '@angular*'
12+
blocknote:
13+
patterns:
14+
- '@blocknote/*'
1415
fullcalendar:
1516
patterns:
16-
- '@fullcalendar*'
17+
- '@fullcalendar/*'
18+
html-eslint:
19+
patterns:
20+
- '@html-eslint/*'
21+
ng-select:
22+
patterns:
23+
- '@ng-select/*'
1724
appsignal:
1825
patterns:
19-
- '@appsignal*'
26+
- '@appsignal/*'
2027
ignore:
2128
- dependency-name: "@angular*"
2229
update-types: ["version-update:semver-major"]
30+
- dependency-name: "@openproject/octicons"
2331
- dependency-name: "@openproject/primer-view-components"
2432
- package-ecosystem: "bundler"
2533
directory: "/"
2634
schedule:
2735
interval: "daily"
2836
target-branch: "dev"
29-
open-pull-requests-limit: 3
30-
versioning-strategy: lockfile-only
3137
groups:
3238
aws-gems:
3339
patterns:
3440
- "aws-*"
3541
ignore:
42+
- dependency-name: "openproject-octicons"
43+
- dependency-name: "openproject-octicons_helper"
3644
- dependency-name: "openproject-primer_view_components"
3745
- package-ecosystem: "github-actions"
3846
directory: "/"
3947
schedule:
4048
interval: "weekly"
4149
target-branch: "dev"
42-
open-pull-requests-limit: 3

.github/workflows/cla.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
9+
permissions:
10+
actions: write
11+
contents: read # this can be 'read' if the signatures are in remote repository
12+
pull-requests: write
13+
statuses: write
14+
15+
jobs:
16+
CLAAssistant:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: "CLA Assistant"
20+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
21+
uses: contributor-assistant/github-action@v2.6.1
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
PERSONAL_ACCESS_TOKEN: ${{ secrets.OPENPROJECTCI_GH_LEGAL_TOKEN }}
25+
with:
26+
path-to-signatures: 'contributor-license-agreement/signatures/version1.json'
27+
path-to-document: 'https://www.openproject.org/legal/contributor-license-agreement' # e.g. a CLA or a DCO document
28+
# branch should not be protected
29+
branch: 'main'
30+
allowlist: >
31+
Daten-David,
32+
EinLama,
33+
HDinger,
34+
JanKeppler,
35+
Kharonus,
36+
Lucas-Knechtel,
37+
MayaBerd,
38+
NobodysNightmare,
39+
RobinWagner,
40+
akabiru,
41+
as-op,
42+
astock2,
43+
ba1ash,
44+
birthe,
45+
brunopagno,
46+
bsatarnejad,
47+
cbliard,
48+
corinnaguenther,
49+
crohr,
50+
dependabot[bot],
51+
dombesz,
52+
dominic-brauenlein,
53+
dsteiner,
54+
dtohmucu,
55+
gleone-art,
56+
judithroth,
57+
klaustopher,
58+
kluedecke,
59+
lindenthal,
60+
machisuji,
61+
marcalcobe,
62+
mereghost,
63+
mrmir,
64+
myabc,
65+
oliverguenther,
66+
openprojectci,
67+
psatyal,
68+
samachon,
69+
shiroginne,
70+
toy,
71+
ulferts,
72+
vonTronje,
73+
vspielau,
74+
wielinde,
75+
yanzubrytskyi
76+
77+
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
78+
remote-organization-name: opf
79+
remote-repository-name: legal
80+
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
81+
#signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
82+
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
83+
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
84+
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
85+
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
86+
#use-dco-flag: true - If you are using DCO instead of CLA
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Docker / Tagged builds
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: "The tag to release. Note that this happens by default on the tag push. Only run this action when something went wrong!"
11+
required: false
12+
13+
jobs:
14+
compute-inputs:
15+
runs-on: ubuntu-latest
16+
outputs:
17+
tag: ${{ steps.compute.outputs.tag }}
18+
branch: ${{ steps.compute.outputs.branch }}
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v5
22+
with:
23+
ref: ${{ github.ref }}
24+
- name: Compute tags and branch
25+
id: compute
26+
run: |
27+
if [[ ${{ github.event_name }} == 'push' ]]; then
28+
# Tag push e.g. refs/tags/v16.3.0 => v16.3.0
29+
TAG_REF="${GITHUB_REF#refs/tags/}"
30+
BRANCH_REF="$GITHUB_REF"
31+
elif [[ ${{ github.event_name }} == 'workflow_dispatch' && -n "${{ inputs.tag }}" ]]; then
32+
# Manual dispatch with tag
33+
TAG_REF="${{ inputs.tag }}"
34+
BRANCH_REF="${{ inputs.tag }}"
35+
else
36+
# Fallback to dev
37+
TAG_REF="dev"
38+
BRANCH_REF="dev"
39+
fi
40+
41+
echo "branch=$BRANCH_REF" | tee -a "$GITHUB_OUTPUT"
42+
echo "tag=$TAG_REF" | tee -a "$GITHUB_OUTPUT"
43+
44+
build:
45+
needs: compute-inputs
46+
uses: ./.github/workflows/docker.yml
47+
with:
48+
branch: ${{ needs.compute-inputs.outputs.branch }}
49+
tag: ${{ needs.compute-inputs.outputs.tag }}
50+
secrets: inherit
51+
52+
trigger_helm_release:
53+
if: ${{ github.repository == 'opf/openproject' }}
54+
needs: [compute-inputs, build]
55+
permissions:
56+
contents: none
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Trigger Helm charts release
60+
env:
61+
TOKEN: ${{ secrets.OPENPROJECT_CI_TOKEN }}
62+
REPOSITORY: opf/helm-charts
63+
WORKFLOW_ID: core_release.yml
64+
run: |
65+
# FIXME: re-enable once workflows are confirmed to be doing the right thing
66+
echo "Would have triggered helm charts release with tag: ${{ needs.compute-inputs.outputs.tag }}"
67+
exit 0
68+
curl -i --fail-with-body -H"authorization: Bearer $TOKEN" \
69+
-XPOST -H"Accept: application/vnd.github.v3+json" \
70+
https://api.github.com/repos/$REPOSITORY/actions/workflows/$WORKFLOW_ID/dispatches \
71+
-d '{"ref": "main", "inputs": { "tag" : "${{ needs.compute-inputs.outputs.tag }}" }}'
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Docker / Scheduled builds
2+
3+
on:
4+
# build dev and release branches daily
5+
schedule:
6+
- cron: "20 2 * * *" # Daily at 02:20
7+
workflow_dispatch: # Allow manual trigger
8+
9+
jobs:
10+
generate-matrix:
11+
runs-on: ubuntu-latest
12+
outputs:
13+
matrix: ${{ steps.set-matrix.outputs.matrix }}
14+
steps:
15+
- uses: actions/checkout@v5
16+
- name: Generate matrix
17+
id: set-matrix
18+
run: ruby script/gh/docker-tags.rb --matrix
19+
20+
build:
21+
needs: generate-matrix
22+
strategy:
23+
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
24+
fail-fast: false
25+
uses: ./.github/workflows/docker.yml
26+
with:
27+
branch: ${{ matrix.branch }}
28+
tag: ${{ matrix.tag }}
29+
secrets: inherit

0 commit comments

Comments
 (0)