[GitHub][CI] Remove 'Set Safe Directory' step (#165052)

This commit is contained in:
Baranov Victor 2025-10-25 01:57:21 +03:00 committed by GitHub
parent 4448ff453d
commit e68cf1ebcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 13 deletions

View File

@ -25,14 +25,6 @@ jobs:
with:
fetch-depth: 2
# We need to set the repo checkout as safe, otherwise tj-actions/changed-files
# will fail due to the changed ownership inside the container.
# TODO(boomanaiden154): We should probably fix this by having the default user
# in the container have the same ID as the GHA user on the host.
- name: Set Safe Directory
run: |
chown -R root $(pwd)
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5

View File

@ -31,11 +31,6 @@ jobs:
with:
fetch-depth: 2
# FIXME: same as in ".github/workflows/pr-code-format.yml"
- name: Set Safe Directory
run: |
chown -R root $(pwd)
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5