From dd1251a137559d4a70add34242abde4a5903bcfe Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Sat, 15 Oct 2022 13:32:27 +0000 Subject: Updating lint-eslint.yml workflow from template Signed-off-by: Nextcloud bot --- .github/workflows/lint-eslint.yml | 17 ++++++++--------- 1 file 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: -- cgit v1.2.3