Skip to content

Commit 880bc08

Browse files
committed
fix(workflow): update environment variable reference for file masks in markdown update workflow
1 parent 5bbab50 commit 880bc08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/on-markdown-update.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@ jobs:
2929
3030
- name: Get changed files
3131
id: changed-markdown-files
32-
env:
33-
FILE_MASKS: ${{ steps.define-file-masks.outputs.file_masks }}
3432
run: |
3533
# Initialize variables
3634
changed_files=""
3735
deleted_files=""
3836
any_changes="false"
3937
4038
# Loop through each file mask and check for changes
41-
for mask in $FILE_MASKS; do
39+
for mask in ${{ env.file_masks }}; do
4240
# Get the list of changed files for the current mask
4341
current_changed_files=$(git diff --name-status ${{ github.event.before }} ${{ github.event.after }} | grep '^[AM]' | grep "${mask}" | awk '{print $2}')
4442
# Get the list of deleted files for the current mask

0 commit comments

Comments
 (0)