From e3bf699961a18c150f4fcb947a93da5b7edab5d6 Mon Sep 17 00:00:00 2001 From: Kevin Conley Date: Sun, 22 Jan 2023 14:46:48 -0800 Subject: [PATCH] Resolve dubious ownership error See these issues for more info: * https://github.com/actions/checkout/issues/1048 * https://github.com/actions/runner-images/issues/6775 --- .github/workflows/pkg.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index 56a4ae5..3603faa 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -30,8 +30,12 @@ jobs: run: | yum install --assumeyes https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm yum install --assumeyes git gcc + # Work-around for https://github.com/actions/runner-images/issues/6775 + - name: Change Owner of Container Working Directory + if: matrix.container + run: chown root:root . - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Init Hermit run: ./bin/hermit env --raw >> $GITHUB_ENV - name: Build