Skip to content

Commit ea27392

Browse files
authored
Merge pull request #3924 from nextcloud/dev/workflows
Update workflows
2 parents d7f4a6e + d81edf7 commit ea27392

File tree

237 files changed

+12694
-8864
lines changed

Some content is hidden

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

237 files changed

+12694
-8864
lines changed

.eslintrc.cjs

+21-20
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,37 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55
module.exports = {
6-
extends: [
7-
'@nextcloud/eslint-config/vue3',
8-
'prettier',
9-
],
10-
plugins: [
11-
'promise',
12-
],
6+
extends: ['@nextcloud/eslint-config/vue3', 'prettier'],
7+
plugins: ['promise'],
138
rules: {
149
'arrow-body-style': 'error',
15-
"jsdoc/require-jsdoc": ["error" | "warn", {
16-
"publicOnly": {
17-
"ancestorsOnly": true,
10+
'jsdoc/require-jsdoc': [
11+
'error' | 'warn',
12+
{
13+
publicOnly: {
14+
ancestorsOnly: true,
15+
},
1816
},
19-
}],
17+
],
2018
'no-array-constructor': 'error',
2119
'no-continue': 'error',
2220
'no-else-return': ['error', { allowElseIf: false }],
2321
'no-lonely-if': 'error',
2422
'no-negated-condition': 'error',
2523
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
2624
'prefer-template': 'error',
27-
'vue/script-indent': ['error', 'tab', {
28-
baseIndent: 1,
29-
switchCase: 1,
30-
}],
25+
'vue/first-attribute-linebreak': [
26+
'error',
27+
{ multiline: 'below', singleline: 'ignore' },
28+
],
3129
'vue/no-v-model-argument': 'off',
32-
'vue/no-unused-properties': ['error', {
33-
groups: ['props', 'data', 'computed', 'methods'],
34-
deepData: true,
35-
ignorePublicMembers: true,
36-
}],
30+
'vue/no-unused-properties': [
31+
'error',
32+
{
33+
groups: ['props', 'data', 'computed', 'methods'],
34+
deepData: true,
35+
ignorePublicMembers: true,
36+
},
37+
],
3738
},
3839
}

.github/ISSUE_TEMPLATE/ANNOUNCEMENT.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "Announcement"
2-
description: "Used for announcements"
3-
labels: ["announcement"]
1+
name: 'Announcement'
2+
description: 'Used for announcements'
3+
labels: ['announcement']
44

55
body:
66
- type: textarea

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "Bug report: Nextcloud Polls"
2-
description: "Submit a report and help us improve Polls"
3-
labels: ["bug"]
1+
name: 'Bug report: Nextcloud Polls'
2+
description: 'Submit a report and help us improve Polls'
3+
labels: ['bug']
44

55
body:
66
- type: markdown
@@ -11,7 +11,7 @@ body:
1111
- type: checkboxes
1212
id: before-posting
1313
attributes:
14-
label: "⚠️ This issue respects the following points: ⚠️"
14+
label: '⚠️ This issue respects the following points: ⚠️'
1515
description: All conditions are **required**. Your issue can be closed if these are checked incorrectly.
1616
options:
1717
- label: This is a **bug**, not a question or a configuration/webserver/proxy issue.
@@ -71,9 +71,9 @@ body:
7171
description: |
7272
How did you install the Polls version, you are referring to, especially when experiencing update errors
7373
options:
74-
- "Installed/updated from the appstore (Apps section of your site)"
75-
- "Installed/updated using occ"
76-
- "Installed/updated via extracting downloaded package to the apps folder"
74+
- 'Installed/updated from the appstore (Apps section of your site)'
75+
- 'Installed/updated using occ'
76+
- 'Installed/updated via extracting downloaded package to the apps folder'
7777
validations:
7878
required: true
7979
- type: dropdown
@@ -83,10 +83,10 @@ body:
8383
description: |
8484
Was it an update or a first time installation
8585
options:
86-
- "First time installation"
87-
- "Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)"
88-
- "Updated from previous major version (i.e. 3.x.x to 4.x.x)"
89-
- "Updated from a much older version (more than one major version)"
86+
- 'First time installation'
87+
- 'Updated from a minor version within same major version (i.e. 4.0.0 to 4.1.1)'
88+
- 'Updated from previous major version (i.e. 3.x.x to 4.x.x)'
89+
- 'Updated from a much older version (more than one major version)'
9090
validations:
9191
required: true
9292
- type: input
@@ -111,11 +111,11 @@ body:
111111
description: |
112112
Select **all** browsers you used, where the bug appeared.
113113
options:
114-
- label: "Firefox"
115-
- label: "Chrome"
116-
- label: "Chromium/Chromium based (i.e. Edge)"
117-
- label: "Safari"
118-
- label: "Other/Don't know"
114+
- label: 'Firefox'
115+
- label: 'Chrome'
116+
- label: 'Chromium/Chromium based (i.e. Edge)'
117+
- label: 'Safari'
118+
- label: "Other/Don't know"
119119
- type: input
120120
id: client-browser-other
121121
attributes:
@@ -151,11 +151,11 @@ body:
151151
description: |
152152
Which Nextcloud Server version are you running.
153153
options:
154-
- "Nextcloud 27"
155-
- "Nextcloud 28"
156-
- "Nextcloud 29"
157-
- "Nextcloud 30"
158-
- "Nextcloud 31"
154+
- 'Nextcloud 27'
155+
- 'Nextcloud 28'
156+
- 'Nextcloud 29'
157+
- 'Nextcloud 30'
158+
- 'Nextcloud 31'
159159
- "Other/Don't know"
160160
validations:
161161
required: true
@@ -172,10 +172,10 @@ body:
172172
description: |
173173
Select PHP engine version serving Nextcloud Server.
174174
options:
175-
- "PHP 8.0"
176-
- "PHP 8.1"
177-
- "PHP 8.2"
178-
- "PHP 8.3"
175+
- 'PHP 8.0'
176+
- 'PHP 8.1'
177+
- 'PHP 8.2'
178+
- 'PHP 8.3'
179179
- "Other/Don't know"
180180
validations:
181181
required: true
@@ -193,11 +193,11 @@ body:
193193
description: |
194194
Select Database engine serving Nextcloud Server.
195195
options:
196-
- "MySQL"
197-
- "MariaDB"
198-
- "PostgreSQL"
199-
- "SQlite"
200-
- "Oracle"
196+
- 'MySQL'
197+
- 'MariaDB'
198+
- 'PostgreSQL'
199+
- 'SQlite'
200+
- 'Oracle'
201201
- "Other/Don't know"
202202
validations:
203203
required: true
@@ -216,10 +216,10 @@ body:
216216
Select **all** user-backends Enabled on your Nextcloud Server.
217217
_Describe in the "Additional info" section if you chose "Other"._
218218
options:
219-
- label: "Default user-backend _(database)_"
220-
- label: "LDAP/ Active Directory"
221-
- label: "SSO - SAML"
222-
- label: "Other/Don't know"
219+
- label: 'Default user-backend _(database)_'
220+
- label: 'LDAP/ Active Directory'
221+
- label: 'SSO - SAML'
222+
- label: "Other/Don't know"
223223

224224
- type: textarea
225225
id: server-nextcloud-log

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "Feature request: Nextcloud Polls"
2-
description: "Suggest your idea for the improvement of Polls"
3-
labels: ["enhancement"]
1+
name: 'Feature request: Nextcloud Polls'
2+
description: 'Suggest your idea for the improvement of Polls'
3+
labels: ['enhancement']
44

55
body:
66
- type: markdown
@@ -11,7 +11,7 @@ body:
1111
- type: checkboxes
1212
id: before-posting
1313
attributes:
14-
label: "⚠️ This issue respects the following points: ⚠️"
14+
label: '⚠️ This issue respects the following points: ⚠️'
1515
description: All conditions are **required**. Your issue can be closed if these are checked incorrectly.
1616
options:
1717
- label: I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
@@ -35,6 +35,6 @@ body:
3535
- type: textarea
3636
id: additional-context
3737
attributes:
38-
label: Additional context
38+
label: Additional context
3939
description: |
4040
Add a screenshot or a mockup for your UI suggestion or add more context to understand the reason, why you think this is a valuable request.

.github/ISSUE_TEMPLATE/config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
blank_issues_enabled: false
2-
contact_links:
3-
- name: ❓ Polls Community Support and Help
4-
url: https://help.nextcloud.com/c/apps/polls/94
5-
about: Configuration or usage questions regarding Polls
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: ❓ Polls Community Support and Help
4+
url: https://help.nextcloud.com/c/apps/polls/94
5+
about: Configuration or usage questions regarding Polls

.github/actions/get-polls-version/action.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# SPDX-FileCopyrightText: 2022 Nextcloud contributors
22
# SPDX-License-Identifier: AGPL-3.0-or-later
33
name: Read polls version from info.xml
4-
inputs:
4+
inputs:
55
skip-check:
66
description: Do not check tag against version
77
required: false
8-
type: boolean
8+
type: boolean
99
default: false
1010

1111
outputs:
12-
app-version:
12+
app-version:
1313
description: 'Version string from app'
1414
value: ${{ steps.appinfo.outputs.info }}
15-
tag-version:
15+
tag-version:
1616
description: 'Version string from tag'
1717
value: ${{ steps.gettag.outputs.VERSION }}
1818

1919
runs:
20-
using: "composite"
20+
using: 'composite'
2121
steps:
2222
- name: Get app version from appinfo/info.xml
2323
id: appinfo

.github/actions/setup-composer/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ inputs:
2626
default: ''
2727

2828
outputs:
29-
cache-hit:
29+
cache-hit:
3030
description: 'Return cache hit'
3131
value: ${{ steps.cache-composer.outputs.cache-hit }}
3232

3333
runs:
34-
using: "composite"
34+
using: 'composite'
3535
steps:
3636
- name: Use or setup caching composer packages (${{ inputs.mode }})
3737
uses: actions/cache@v4

.github/actions/setup-node/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ inputs:
88
description: 'Node version to use'
99

1010
outputs:
11-
cache-hit:
11+
cache-hit:
1212
description: 'Return cache hit'
1313
value: ${{ steps.cache-modules.outputs.cache-hit }}
1414

1515
runs:
16-
using: "composite"
16+
using: 'composite'
1717
steps:
1818
- name: Use or setup caching npm modules
1919
uses: actions/cache@v4
@@ -36,4 +36,4 @@ runs:
3636
- name: Install dependencies
3737
if: steps.cache-modules.outputs.cache-hit != 'true'
3838
run: npm ci
39-
shell: bash
39+
shell: bash

.github/actions/setup-server/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ inputs:
5252
desrcription: 'Password of the admin user (Default: password)'
5353

5454
runs:
55-
using: "composite"
55+
using: 'composite'
5656
steps:
5757
- name: Checkout server ${{ inputs.server-version }}
5858
uses: actions/checkout@v4

.github/dependabot.yml

+24-24
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
# SPDX-License-Identifier: AGPL-3.0-or-later
33
version: 2
44
updates:
5-
- package-ecosystem: npm
6-
directory: "/"
7-
schedule:
8-
interval: daily
9-
time: "03:00"
10-
timezone: Europe/Paris
11-
open-pull-requests-limit: 10
12-
ignore:
13-
- dependency-name: linkify-urls
14-
versions:
15-
- ">= 3.0.a"
16-
- "< 3.1"
17-
- dependency-name: linkify-urls
18-
versions:
19-
- ">= 3.1.a"
20-
- "< 3.2"
21-
- package-ecosystem: composer
22-
directory: "/"
23-
schedule:
24-
interval: weekly
25-
day: saturday
26-
time: "03:00"
27-
timezone: Europe/Paris
28-
open-pull-requests-limit: 10
5+
- package-ecosystem: npm
6+
directory: '/'
7+
schedule:
8+
interval: daily
9+
time: '03:00'
10+
timezone: Europe/Paris
11+
open-pull-requests-limit: 10
12+
ignore:
13+
- dependency-name: linkify-urls
14+
versions:
15+
- '>= 3.0.a'
16+
- '< 3.1'
17+
- dependency-name: linkify-urls
18+
versions:
19+
- '>= 3.1.a'
20+
- '< 3.2'
21+
- package-ecosystem: composer
22+
directory: '/'
23+
schedule:
24+
interval: weekly
25+
day: saturday
26+
time: '03:00'
27+
timezone: Europe/Paris
28+
open-pull-requests-limit: 10

.github/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ changelog:
3636
- performance
3737
- title: Other Changes
3838
labels:
39-
- "*"
39+
- '*'

0 commit comments

Comments
 (0)