Skip to content

Commit 6f1f006

Browse files
committed
security: disable tj-actions/changed-files
1 parent 467bacb commit 6f1f006

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/preview-release.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,27 @@ jobs:
1919
node-version: 20
2020
cache: pnpm
2121

22-
- name: Run changed-files
23-
id: changed-files
24-
uses: tj-actions/changed-files@v44
25-
with:
26-
separator: ' '
27-
dir_names: 'true'
28-
dir_names_max_depth: '2' # truncates the path to packages/package-name
29-
files: |
30-
packages/**
22+
# Disabled due to https://github.com/tj-actions/changed-files/issues/2463
23+
# - name: Run changed-files
24+
# id: changed-files
25+
# uses: tj-actions/changed-files@v44
26+
# with:
27+
# separator: ' '
28+
# dir_names: 'true'
29+
# dir_names_max_depth: '2' # truncates the path to packages/package-name
30+
# files: |
31+
# packages/**
3132

3233
- name: install dependencies
3334
run: pnpm install
3435

3536
- name: build
3637
run: pnpm build
3738

38-
- name: publish preview
39-
if: ${{ steps.changed-files.outputs.all_changed_files_count > 0 }}
40-
env:
41-
CHANGED_DIRS: ${{ steps.changed-files.outputs.all_changed_files }}
42-
# run: |
43-
# node scripts/get-deps-to-publish.js
44-
run: pnpm dlx [email protected] publish --pnpm './packages/*'
39+
# - name: publish preview
40+
# if: ${{ steps.changed-files.outputs.all_changed_files_count > 0 }}
41+
# env:
42+
# CHANGED_DIRS: ${{ steps.changed-files.outputs.all_changed_files }}
43+
# # run: |
44+
# # node scripts/get-deps-to-publish.js
45+
# run: pnpm dlx [email protected] publish --pnpm './packages/*'

0 commit comments

Comments
 (0)