diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2022-10-17 10:06:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 10:06:55 +0300 |
commit | 93c8c1885ba6fd12a827d9f3879f26c83150d975 (patch) | |
tree | 916bb32c3bbdea4e04e81c378f6269dbfece06c2 | |
parent | 95d19ae637b76b7f2863c9c855db23ac597e95c8 (diff) | |
parent | 60872b7bbb90f80f246d1436ad3809e1fce72cb3 (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.yml | 20 |
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 }} |