switch index to ocs #432
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is provided via the organization template repository | |
# | |
# https://github.com/nextcloud/.github | |
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | |
# | |
# Use node together with node-when-unrelated to make eslint a required check for GitHub actions | |
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | |
# | |
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-License-Identifier: MIT | |
name: Node | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/workflows/**' | |
- 'src/**' | |
- 'appinfo/info.xml' | |
- 'package.json' | |
- 'package-lock.json' | |
- 'tsconfig.json' | |
- '**.js' | |
- '**.ts' | |
- '**.vue' | |
push: | |
branches: | |
- main | |
- master | |
- stable* | |
concurrency: | |
group: node-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
permissions: | |
contents: none | |
runs-on: ubuntu-latest | |
name: node | |
steps: | |
- name: Skip | |
run: 'echo "No JS/TS files changed, skipped Node"' |