Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov@fedoraproject.org>2022-05-08 23:06:28 +0300
committerAndrei Vagin <avagin@gmail.com>2022-06-22 20:20:33 +0300
commitf522adec4a328393c3f5f77b9864ef7030f4f705 (patch)
tree41578e484f71ac2f210a61dcec51dd5c7091822f
parent4f8f295e57e68740699479d12c1ad251e6dd859f (diff)
ci: Fix unsafe repository error
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
-rw-r--r--.github/workflows/lint.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index c1215aeaf..c3886c707 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -10,9 +10,16 @@ jobs:
steps:
- name: Install tools
run: sudo dnf -y install git make python3-flake8 ShellCheck clang-tools-extra which findutils codespell
+
- uses: actions/checkout@v2
+
+ - name: Set git safe directory
+ # https://github.com/actions/checkout/issues/760
+ run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
+
- name: Run make lint
run: make lint
+
- name: Run make indent
run: >
make indent &&