Skip to content

Commit df1b3da

Browse files
Replace GH Action from tj-actions by custom code (#1733)
The GitHub Actions build workflow includes external Actions from 3rd party repositories. The functionality of tj-actions/verify-changed-files was used to detect modifications of files during the build process. The external action is removed and replaced by custom code. This is less flexible, but does not require an external action in the build toolchain. Signed-off-by: Holger Friedrich <[email protected]>
1 parent d565c72 commit df1b3da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci-build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ jobs:
7373
path: build.log
7474

7575
- name: Verify Changed Files
76-
uses: tj-actions/verify-changed-files@v20
7776
id: verify-changed-files
77+
run: |
78+
set -o pipefail
79+
changed_files=$(echo -n "$(git diff --name-only HEAD && git ls-files --others --exclude-standard)"|tr '\n' ' ')
80+
echo "changed_files=$changed_files" >> $GITHUB_OUTPUT
7881
7982
- name: Fail on Changed Files
8083
if: steps.verify-changed-files.outputs.changed_files != ''

0 commit comments

Comments
 (0)