Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/contacts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2022-10-17 10:06:55 +0300
committerGitHub <noreply@github.com>2022-10-17 10:06:55 +0300
commit93c8c1885ba6fd12a827d9f3879f26c83150d975 (patch)
tree916bb32c3bbdea4e04e81c378f6269dbfece06c2
parent95d19ae637b76b7f2863c9c855db23ac597e95c8 (diff)
parent60872b7bbb90f80f246d1436ad3809e1fce72cb3 (diff)
Merge pull request #3050 from nextcloud/feat/workflow-auto-update-lint-stylelint.yml
Updating lint-stylelint.yml workflow from template
-rw-r--r--.github/workflows/lint-stylelint.yml20
1 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/lint-stylelint.yml b/.github/workflows/lint-stylelint.yml
index 033c72a6..17b7aebb 100644
--- a/.github/workflows/lint-stylelint.yml
+++ b/.github/workflows/lint-stylelint.yml
@@ -5,12 +5,14 @@
name: Lint
-on:
- pull_request:
- push:
- branches:
- - main
- - stable*
+on: pull_request
+
+permissions:
+ contents: read
+
+concurrency:
+ group: lint-stylelint-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
jobs:
lint:
@@ -20,17 +22,17 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ 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 }}