Skip to content

Commit 9b89164

Browse files
committed
Updating lint-eslint.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 parent 9e06752 commit 9b89164

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/lint-eslint.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55

66
name: Lint
77

8-
on:
9-
pull_request:
10-
push:
11-
branches:
12-
- master
13-
- stable*
8+
on: pull_request
9+
10+
permissions:
11+
contents: read
12+
13+
concurrency:
14+
group: lint-eslint-${{ github.head_ref || github.run_id }}
15+
cancel-in-progress: true
1416

1517
jobs:
1618
lint:
@@ -20,17 +22,17 @@ jobs:
2022

2123
steps:
2224
- name: Checkout
23-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2426

2527
- name: Read package.json node and npm engines version
26-
uses: skjnldsv/read-package-engines-version-actions@v1.1
28+
uses: skjnldsv/read-package-engines-version-actions@v1.2
2729
id: versions
2830
with:
2931
fallbackNode: '^12'
3032
fallbackNpm: '^6'
3133

3234
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
33-
uses: actions/setup-node@v2
35+
uses: actions/setup-node@v3
3436
with:
3537
node-version: ${{ steps.versions.outputs.nodeVersion }}
3638

0 commit comments

Comments
 (0)