Skip to content

Commit 8776312

Browse files
committed
set dir
1 parent 10f4cc0 commit 8776312

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/scan.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,15 @@ jobs:
6969
steps:
7070
- name: Checkout code
7171
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
72-
# with:
73-
# clean: true
74-
# set-safe-directory: /venvs/ros-license-toolkit
7572
- name: Check for license tags
7673
shell: bash
7774
run: |
7875
find . -type f \( -name "*.py" -o -name "*.cpp" -o -name "*.h" \) -exec /go/bin/addlicense -check {} +
7976
- name: Run ros_license_toolkit for each Package
8077
shell: bash
8178
run: |
82-
# git config --global --add safe.directory /__w/scenario-execution/scenario-execution
79+
git config --global --add safe.directory /__w/scenario-execution/scenario-execution
80+
git config --global --add safe.directory /venvs/ros-license-toolkit
8381
find . -name "package.xml" | while IFS= read -r pkg_file; do
8482
pkg_dir=$(dirname "$pkg_file")
8583
pkg_name=$(basename "$pkg_dir")

0 commit comments

Comments
 (0)