Skip to content

Commit f3fcc93

Browse files
author
AVINASH GUSAIN
committed
Calendar 4.3.3 for nc25
1 parent 31dcc5e commit f3fcc93

File tree

441 files changed

+28973
-21828
lines changed

Some content is hidden

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

441 files changed

+28973
-21828
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Bug"
22
description: "Have you encountered a bug?"
3-
labels: ["bug", "0. to triage"]
3+
labels: ["bug", "0 - to triage"]
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Feature request"
22
description: "You have a neat idea that should be implemented?"
3-
labels: ["enhancement", "0. to triage"]
3+
labels: ["enhancement", "0 - to triage"]
44
body:
55
- type: markdown
66
attributes:

.github/dependabot.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,46 @@ updates:
88
time: "03:00"
99
timezone: Europe/Paris
1010
open-pull-requests-limit: 10
11+
reviewers:
12+
- "ChristophWurst"
13+
- "st3iny"
1114
labels:
1215
- 3 - to review
16+
- dependencies
17+
- package-ecosystem: composer
18+
directory: "/vendor-bin/cs-fixer"
19+
schedule:
20+
interval: weekly
21+
day: saturday
22+
time: "03:00"
23+
timezone: Europe/Paris
24+
open-pull-requests-limit: 3
25+
reviewers:
26+
- "ChristophWurst"
27+
- "st3iny"
28+
labels:
29+
- 3. to review
30+
- dependencies
31+
commit-message:
32+
prefix: ci
33+
include: scope
34+
- package-ecosystem: composer
35+
directory: "/vendor-bin/phpunit"
36+
schedule:
37+
interval: weekly
38+
day: saturday
39+
time: "03:00"
40+
timezone: Europe/Paris
41+
open-pull-requests-limit: 3
42+
reviewers:
43+
- "ChristophWurst"
44+
- "st3iny"
45+
labels:
46+
- 3. to review
47+
- dependencies
48+
commit-message:
49+
prefix: ci
50+
include: scope
1351
- package-ecosystem: npm
1452
directory: "/"
1553
schedule:
@@ -18,10 +56,35 @@ updates:
1856
time: "03:00"
1957
timezone: Europe/Paris
2058
open-pull-requests-limit: 10
59+
reviewers:
60+
- "JuliaKirschenheuter"
61+
- "st3iny"
2162
labels:
2263
- 3 - to review
64+
- dependencies
2365
ignore:
2466
- dependency-name: css-loader
2567
versions:
2668
- ">= 4.a"
2769
- "< 5"
70+
- package-ecosystem: github-actions
71+
directory: "/"
72+
schedule:
73+
interval: daily
74+
time: "03:00"
75+
timezone: Europe/Paris
76+
open-pull-requests-limit: 10
77+
reviewers:
78+
- "miaulalala"
79+
- "st3iny"
80+
81+
# stable3.5
82+
- package-ecosystem: npm
83+
target-branch: stable3.5
84+
directory: "/"
85+
schedule:
86+
interval: daily
87+
open-pull-requests-limit: 0
88+
labels:
89+
- 3 - to review
90+
- dependencies

.github/workflows/appstore-build-publish.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
types: [published]
1111

1212
env:
13-
PHP_VERSION: 7.4
13+
PHP_VERSION: 8.1
1414

1515
jobs:
1616
build_and_publish:
@@ -21,42 +21,42 @@ jobs:
2121

2222
steps:
2323
- name: Check actor permission
24-
uses: skjnldsv/check-actor-permission@v2
24+
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
2525
with:
2626
require: write
2727

2828
- name: Set app env
2929
run: |
30-
# Split and keep last
30+
# Split and keep last
3131
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
3232
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
3333
3434
- name: Checkout
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
3636
with:
3737
path: ${{ env.APP_NAME }}
3838

3939
- name: Get appinfo data
4040
id: appinfo
41-
uses: skjnldsv/xpath-action@master
41+
uses: skjnldsv/xpath-action@7e6a7c379d0e9abc8acaef43df403ab4fc4f770c # master
4242
with:
4343
filename: ${{ env.APP_NAME }}/appinfo/info.xml
4444
expression: "//info//dependencies//nextcloud/@min-version"
4545

4646
- name: Read package.json node and npm engines version
47-
uses: skjnldsv/read-package-engines-version-actions@v1.2
47+
uses: skjnldsv/read-package-engines-version-actions@9bc020752ccc3352de3382e10a1d6cd1bd0ace5a # v2.0
4848
id: versions
4949
# Continue if no package.json
5050
continue-on-error: true
5151
with:
5252
path: ${{ env.APP_NAME }}
53-
fallbackNode: "^12"
54-
fallbackNpm: "^6"
53+
fallbackNode: "^16"
54+
fallbackNpm: "^7"
5555

5656
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
5757
# Skip if no package.json
5858
if: ${{ steps.versions.outputs.nodeVersion }}
59-
uses: actions/setup-node@v3
59+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
6060
with:
6161
node-version: ${{ steps.versions.outputs.nodeVersion }}
6262

@@ -66,14 +66,16 @@ jobs:
6666
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
6767

6868
- name: Set up php ${{ env.PHP_VERSION }}
69-
uses: shivammathur/setup-php@v2
69+
uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2
7070
with:
7171
php-version: ${{ env.PHP_VERSION }}
7272
coverage: none
73+
env:
74+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7375

7476
- name: Check composer.json
7577
id: check_composer
76-
uses: andstor/file-existence-action@v1
78+
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
7779
with:
7880
files: "${{ env.APP_NAME }}/composer.json"
7981

@@ -93,15 +95,15 @@ jobs:
9395
9496
- name: Check Krankerl config
9597
id: krankerl
96-
uses: andstor/file-existence-action@v1
98+
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
9799
with:
98100
files: ${{ env.APP_NAME }}/krankerl.toml
99101

100102
- name: Install Krankerl
101103
if: steps.krankerl.outputs.files_exists == 'true'
102104
run: |
103-
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.0/krankerl_0.13.0_amd64.deb
104-
sudo dpkg -i krankerl_0.13.0_amd64.deb
105+
wget https://github.com/ChristophWurst/krankerl/releases/download/v0.14.0/krankerl_0.14.0_amd64.deb
106+
sudo dpkg -i krankerl_0.14.0_amd64.deb
105107
106108
- name: Package ${{ env.APP_NAME }} ${{ env.APP_VERSION }} with krankerl
107109
if: steps.krankerl.outputs.files_exists == 'true'
@@ -124,7 +126,7 @@ jobs:
124126
unzip latest-$NCVERSION.zip
125127
126128
- name: Checkout server master fallback
127-
uses: actions/checkout@v3
129+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
128130
if: ${{ steps.server-checkout.outcome != 'success' }}
129131
with:
130132
repository: nextcloud/server
@@ -146,7 +148,7 @@ jobs:
146148
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
147149
148150
- name: Attach tarball to github release
149-
uses: svenstaro/upload-release-action@v2
151+
uses: svenstaro/upload-release-action@7319e4733ec7a184d739a6f412c40ffc339b69c7 # v2
150152
id: attach_to_release
151153
with:
152154
repo_token: ${{ secrets.GITHUB_TOKEN }}
@@ -156,7 +158,7 @@ jobs:
156158
overwrite: true
157159

158160
- name: Upload app to Nextcloud appstore
159-
uses: nextcloud-releases/nextcloud-appstore-push-action@v1
161+
uses: nextcloud-releases/nextcloud-appstore-push-action@a011fe619bcf6e77ddebc96f9908e1af4071b9c1 # v1
160162
with:
161163
app_name: ${{ env.APP_NAME }}
162164
appstore_token: ${{ secrets.APPSTORE_TOKEN }}

.github/workflows/build.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/fixup.yml

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
1-
on: pull_request
2-
name: Commit checks
1+
# This workflow is provided via the organization template repository
2+
#
3+
# https://github.com/nextcloud/.github
4+
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
6+
name: Pull request checks
7+
8+
on:
9+
pull_request:
10+
types: [opened, ready_for_review, reopened, synchronize]
11+
12+
permissions:
13+
contents: read
14+
15+
concurrency:
16+
group: fixup-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
319
jobs:
4-
commit-message-check:
5-
name: Block fixup and squash commits
6-
runs-on: ubuntu-latest
7-
steps:
8-
- name: Run check
9-
uses: xt0rted/block-autosquash-commits-action@main
10-
with:
11-
repo-token: ${{ secrets.GITHUB_TOKEN }}
20+
commit-message-check:
21+
if: github.event.pull_request.draft == false
22+
23+
permissions:
24+
pull-requests: write
25+
name: Block fixup and squash commits
26+
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Run check
31+
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2
32+
with:
33+
repo-token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow is provided via the organization template repository
2+
#
3+
# https://github.com/nextcloud/.github
4+
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
7+
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
8+
9+
name: Lint
10+
11+
on:
12+
pull_request:
13+
paths-ignore:
14+
- '.github/workflows/**'
15+
- 'src/**'
16+
- 'appinfo/info.xml'
17+
- 'package.json'
18+
- 'package-lock.json'
19+
- 'tsconfig.json'
20+
- '.eslintrc.*'
21+
- '.eslintignore'
22+
- '**.js'
23+
- '**.ts'
24+
- '**.vue'
25+
26+
permissions:
27+
contents: read
28+
29+
jobs:
30+
lint:
31+
permissions:
32+
contents: none
33+
34+
runs-on: ubuntu-latest
35+
36+
name: eslint
37+
38+
steps:
39+
- run: 'echo "No eslint required"'

0 commit comments

Comments
 (0)