Skip to content

Commit 6c470ce

Browse files
committed
ci: use the specific branch
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
1 parent 2771035 commit 6c470ce

3 files changed

Lines changed: 21 additions & 22 deletions

File tree

.github/workflows/appstore.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
3434
with:
3535
path: integration_openproject
36+
fetch-tags: true
37+
ref: v2.9.2
3638

3739
- name: Setup NodeJS
3840
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238
@@ -52,8 +54,6 @@ jobs:
5254
tools: php-cs-fixer, phpunit
5355

5456
- name: Build nextcloud project
55-
# if: ${{ startsWith( steps.tag.outputs.currenttag , 'v' ) }}
56-
# id: build_release
5757
run: |
5858
export DEBIAN_FRONTEND=noninteractive
5959
echo "###### installing nextcloud"
@@ -136,17 +136,16 @@ jobs:
136136
APP_VERSION: 2.9.2
137137
SIGNATURE: signature1
138138
run: |
139-
cd integration_openproject
140-
bash ./.github/scripts/self-hosted-app-store.sh
139+
wget https://raw.githubusercontent.com/nextcloud/integration_openproject/${{github.head_ref}}/.github/scripts/self-hosted-app-store.sh
140+
bash ./self-hosted-app-store.sh
141141
142142
- name: Register and publish groupfolders apps
143143
env:
144144
APP_ID: groupfolders
145145
APP_VERSION: 17.0.15
146146
SIGNATURE: signature1
147147
run: |
148-
cd integration_openproject
149-
bash ./.github/scripts/self-hosted-app-store.sh
148+
bash ./self-hosted-app-store.sh
150149
151150
- name: Configure Nextcloud for testing
152151
run: |
@@ -157,6 +156,7 @@ jobs:
157156
exit 1
158157
}
159158
cd ~/html/nextcloud
159+
php occ config:system:set ratelimit.protection.enabled --value false --type bool
160160
php occ config:system:set appstoreurl --value http://localhost:8000/api/v1
161161
php occ config:system:set allow_local_remote_servers --value true
162162
php occ app:install integration_openproject
@@ -168,8 +168,7 @@ jobs:
168168
APP_VERSION: 2.10.0
169169
SIGNATURE: signature2
170170
run: |
171-
cd integration_openproject
172-
bash ./.github/scripts/self-hosted-app-store.sh
171+
bash ./self-hosted-app-store.sh
173172
174173
- name: upgrade apps
175174
run: |

.github/workflows/ci-workflow.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
# SPDX-License-Identifier: AGPL-3.0-or-later
33
name: CI
44

5-
on:
6-
push:
7-
branches:
8-
- 'master'
9-
pull_request:
10-
paths-ignore:
11-
- '**.md'
12-
- '**.txt'
13-
- '**.sh'
14-
- 'dev/**'
15-
- 'l10n/**'
16-
- 'img/**'
17-
- 'docker-compose*'
5+
# on:
6+
# push:
7+
# branches:
8+
# - 'master'
9+
# pull_request:
10+
# paths-ignore:
11+
# - '**.md'
12+
# - '**.txt'
13+
# - '**.sh'
14+
# - 'dev/**'
15+
# - 'l10n/**'
16+
# - 'img/**'
17+
# - 'docker-compose*'
1818

1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/reuse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
name: REUSE Compliance Check
1111

12-
on: [pull_request]
12+
# on: [pull_request]
1313

1414
permissions:
1515
contents: read

0 commit comments

Comments
 (0)