Skip to content

Commit c8b4324

Browse files
committed
fix(ci): Update workflows from organization
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent b10dfcd commit c8b4324

File tree

4 files changed

+24
-22
lines changed

4 files changed

+24
-22
lines changed

.github/workflows/dependabot-approve-merge.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# https://github.com/nextcloud/.github
44
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
7+
# SPDX-License-Identifier: MIT
58

69
name: Dependabot
710

@@ -21,7 +24,7 @@ concurrency:
2124

2225
jobs:
2326
auto-approve-merge:
24-
if: github.actor == 'dependabot[bot]'
27+
if: github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
2528
runs-on: ubuntu-latest
2629
permissions:
2730
# for hmarr/auto-approve-action to approve PRs

.github/workflows/fixup.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# https://github.com/nextcloud/.github
44
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
7+
# SPDX-License-Identifier: MIT
58

69
name: Block fixup and squash commits
710

@@ -28,6 +31,6 @@ jobs:
2831

2932
steps:
3033
- name: Run check
31-
uses: skjnldsv/block-fixup-merge-action@42d26e1b536ce61e5cf467d65fb76caf4aa85acf # v1
34+
uses: skjnldsv/block-fixup-merge-action@c138ea99e45e186567b64cf065ce90f7158c236a # v2
3235
with:
3336
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/node.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# https://github.com/nextcloud/.github
44
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
7+
# SPDX-License-Identifier: MIT
58

69
name: Node
710

@@ -22,7 +25,7 @@ jobs:
2225
src: ${{ steps.changes.outputs.src}}
2326

2427
steps:
25-
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
28+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
2629
id: changes
2730
continue-on-error: true
2831
with:
@@ -47,17 +50,17 @@ jobs:
4750
name: NPM build
4851
steps:
4952
- name: Checkout
50-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
53+
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
5154

5255
- name: Read package.json node and npm engines version
53-
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
56+
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
5457
id: versions
5558
with:
5659
fallbackNode: '^20'
57-
fallbackNpm: '^9'
60+
fallbackNpm: '^10'
5861

5962
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
60-
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v3
63+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
6164
with:
6265
node-version: ${{ steps.versions.outputs.nodeVersion }}
6366

.github/workflows/npm-publish.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
#
33
# https://github.com/nextcloud/.github
44
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5+
#
6+
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
7+
# SPDX-License-Identifier: MIT
58

69
name: Publish
710

@@ -20,22 +23,22 @@ jobs:
2023
name: Build and publish to npm
2124
steps:
2225
- name: Check actor permission level
23-
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
26+
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0
2427
with:
2528
require: admin
2629

2730
- name: Checkout
28-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
31+
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
2932

3033
- name: Read package.json node and npm engines version
31-
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
34+
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
3235
id: versions
3336
with:
3437
fallbackNode: '^20'
35-
fallbackNpm: '^9'
38+
fallbackNpm: '^10'
3639

3740
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
38-
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v3
41+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v3
3942
with:
4043
node-version: ${{ steps.versions.outputs.nodeVersion }}
4144

@@ -55,13 +58,3 @@ jobs:
5558
npm publish
5659
env:
5760
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58-
59-
- name: Setup Github Package Registry
60-
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v3
61-
with:
62-
registry-url: 'https://npm.pkg.github.com'
63-
64-
- name: Publish package on GPR
65-
run: npm publish
66-
env:
67-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)