Skip to content

Commit a65031e

Browse files
vbvictordvbuka
authored andcommitted
[GitHub][CI] Remove 'Set Safe Directory' step (llvm#165052)
1 parent c2cd002 commit a65031e

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

.github/workflows/pr-code-format.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ jobs:
2525
with:
2626
fetch-depth: 2
2727

28-
# We need to set the repo checkout as safe, otherwise tj-actions/changed-files
29-
# will fail due to the changed ownership inside the container.
30-
# TODO(boomanaiden154): We should probably fix this by having the default user
31-
# in the container have the same ID as the GHA user on the host.
32-
- name: Set Safe Directory
33-
run: |
34-
chown -R root $(pwd)
35-
3628
- name: Get changed files
3729
id: changed-files
3830
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5

.github/workflows/pr-code-lint.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
with:
3232
fetch-depth: 2
3333

34-
# FIXME: same as in ".github/workflows/pr-code-format.yml"
35-
- name: Set Safe Directory
36-
run: |
37-
chown -R root $(pwd)
38-
3934
- name: Get changed files
4035
id: changed-files
4136
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5

0 commit comments

Comments
 (0)