summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNextcloud bot <bot@nextcloud.com>2022-10-15 13:32:27 +0000
committerNextcloud bot <bot@nextcloud.com>2022-10-15 13:32:27 +0000
commitdd1251a137559d4a70add34242abde4a5903bcfe (patch)
treeacb87b4b7d380bfb97d0b638ae255a59dce2d592
parent2fc176bf50e7f66e2d19443041c157f70a5b9b3c (diff)
Updating lint-eslint.yml workflow from templatefeat/workflow-auto-update-lint-eslint.yml
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
-rw-r--r--.github/workflows/lint-eslint.yml17
1 files changed, 8 insertions, 9 deletions
diff --git a/.github/workflows/lint-eslint.yml b/.github/workflows/lint-eslint.yml
index 564a4a829..c08763ea9 100644
--- a/.github/workflows/lint-eslint.yml
+++ b/.github/workflows/lint-eslint.yml
@@ -2,18 +2,17 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
-# SPDX-FileCopyrightText: Nextcloud contributors
-# SPDX-License-Identifier: AGPL-3.0-or-later
name: Lint
-on:
- pull_request:
- push:
- branches:
- - main
- - master
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-eslint-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
lint: