forked from nextcloud/text
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (23 loc) · 928 Bytes
/
Copy pathnode-dist-unchanged.yml
File metadata and controls
29 lines (23 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Check node dist files
on:
pull_request:
jobs:
changed_files:
runs-on: ubuntu-latest
name: Check node dist files
permissions:
pull-requests: read
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@dcc7a0cba800f454d79fff4b993e8c3555bcc0a8 # v45.0.7
with:
files: js/**
- name: Run step if any file(s) in the docs folder change
if: steps.changed-files.outputs.any_changed == 'true'
run: |
echo "One or more files in the js folder has changed. Do NOT commit files in there as they will be generated automatically once a pull request is merged"
echo "List all the files that have changed: ${{ steps.changed-files.outputs.all_changed_files }}"
exit 1