Skip to content

Commit ad8f268

Browse files
committed
chore: update workflows from templates
Signed-off-by: John Molakvoæ <[email protected]>
1 parent d3f2e80 commit ad8f268

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

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

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

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

1515
jobs:
1616
build_and_publish:
@@ -32,7 +32,7 @@ jobs:
3232
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
3333
3434
- name: Checkout
35-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
35+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3636
with:
3737
path: ${{ env.APP_NAME }}
3838

@@ -44,19 +44,19 @@ jobs:
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@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
47+
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
4848
id: versions
4949
# Continue if no package.json
5050
continue-on-error: true
5151
with:
5252
path: ${{ env.APP_NAME }}
53-
fallbackNode: "^16"
54-
fallbackNpm: "^7"
53+
fallbackNode: '^20'
54+
fallbackNpm: '^9'
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@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
59+
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v3
6060
with:
6161
node-version: ${{ steps.versions.outputs.nodeVersion }}
6262

@@ -66,7 +66,7 @@ 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@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
69+
uses: shivammathur/setup-php@e6f75134d35752277f093989e72e140eaa222f35 # v2
7070
with:
7171
php-version: ${{ env.PHP_VERSION }}
7272
coverage: none
@@ -88,6 +88,8 @@ jobs:
8888
- name: Build ${{ env.APP_NAME }}
8989
# Skip if no package.json
9090
if: ${{ steps.versions.outputs.nodeVersion }}
91+
env:
92+
CYPRESS_INSTALL_BINARY: 0
9193
run: |
9294
cd ${{ env.APP_NAME }}
9395
npm ci
@@ -126,7 +128,7 @@ jobs:
126128
unzip latest-$NCVERSION.zip
127129
128130
- name: Checkout server master fallback
129-
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
131+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
130132
if: ${{ steps.server-checkout.outcome != 'success' }}
131133
with:
132134
submodules: true
@@ -149,7 +151,7 @@ jobs:
149151
tar -zcvf ${{ env.APP_NAME }}.tar.gz ${{ env.APP_NAME }}
150152
151153
- name: Attach tarball to github release
152-
uses: svenstaro/upload-release-action@2b9d2847a97b04d02ad5c3df2d3a27baa97ce689 # v2
154+
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # v2
153155
id: attach_to_release
154156
with:
155157
repo_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr-feedback.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
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+
16
name: 'Ask for feedback on PRs'
27
on:
38
schedule:
49
- cron: '30 1 * * *'
510

611
jobs:
712
pr-feedback:
8-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-latest
914
steps:
1015
- name: The get-github-handles-from-website action
1116
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
@@ -16,7 +21,7 @@ jobs:
1621
with:
1722
feedback-message: |
1823
Hello there,
19-
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
24+
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
2025
2126
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
2227
@@ -25,5 +30,5 @@ jobs:
2530
Thank you for contributing to Nextcloud and we hope to hear from you soon!
2631
days-before-feedback: 14
2732
start-date: "2023-07-10"
28-
exempt-authors: "${{ steps.scrape.outputs.users }},nextcloud-command"
33+
exempt-authors: "${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot,skjnldsv,datenangebot"
2934
exempt-bots: true

0 commit comments

Comments
 (0)