Drop tj changed files and use a simple script

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2025-03-16 11:04:58 +01:00
parent 6492278c0b
commit efdea432f7
No known key found for this signature in database
GPG Key ID: FF934753A9D6AC56
2 changed files with 10 additions and 3 deletions

View File

@ -14,9 +14,16 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v46
with:
files: packages/**
run: |
# Get the list of files that were changed between the base branch and the current commit
CHANGED_FILES=$(git diff --name-only origin/$GITHUB_BASE_REF...HEAD | grep "^packages/**")
if echo "$CHANGED_FILES"; then
echo "any_changed=true" >> $GITHUB_OUTPUT
echo "all_changed_files=$CHANGED_FILES" >> $GITHUB_OUTPUT
else
echo "any_changed=false" >> $GITHUB_OUTPUT
fi
- name: Set up Go
uses: actions/setup-go@v5
with:

Binary file not shown.