Skip to content

Commit ce06e90

Browse files
Replace GH Action from tj-actions by custom code
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 under source control 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 ce06e90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ 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+
changed_files=$(git diff --name-only ${{ github.sha }} | tr '\n' ' ')
79+
echo "changed_files=$changed_files" >> $GITHUB_OUTPUT
7880
7981
- name: Fail on Changed Files
8082
if: steps.verify-changed-files.outputs.changed_files != ''

0 commit comments

Comments
 (0)