summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-05-10 11:41:29 +0200
committerGitHub <noreply@github.com>2023-05-10 11:41:29 +0200
commit14cb58c0e5b4507704755a462a859c407173c21f (patch)
tree634da01d00d6f86860b623cdabfb9b1ea8078bf7 /.github
parentf63c2db6a12e4f0b8942432c1fc7374d9f5c1732 (diff)
parent9b8916457cdc59d78d28bb0d4804f964c652646c (diff)
downloadnextcloud-server-14cb58c0e5b4507704755a462a859c407173c21f.tar.gz
nextcloud-server-14cb58c0e5b4507704755a462a859c407173c21f.zip
Merge pull request #31469 from nextcloud/feat/workflow-auto-update-lint-eslint.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-eslint.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/lint-eslint.yml b/.github/workflows/lint-eslint.yml
index bcf039ad728..c08763ea946 100644
--- a/.github/workflows/lint-eslint.yml
+++ b/.github/workflows/lint-eslint.yml
@@ -5,12 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-eslint-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
lint:
@@ -23,14 +25,14 @@ jobs:
uses: actions/checkout@v3
- name: Read package.json node and npm engines version
- uses: skjnldsv/read-package-engines-version-actions@v1.1
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}