Skip to content

Release workflow: fix git dubious-ownership failure in “Release artifacts and AUR”#2

Merged
codelif merged 2 commits into
mainfrom
copilot/fix-release-artifacts-and-aur-job
Jun 8, 2026
Merged

Release workflow: fix git dubious-ownership failure in “Release artifacts and AUR”#2
codelif merged 2 commits into
mainfrom
copilot/fix-release-artifacts-and-aur-job

Conversation

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

The release pipeline was failing in the Release artifacts and AUR job when make checksums invoked git archive inside the Arch container. Git rejected the workspace as an unsafe repository (detected dubious ownership), stopping artifact generation and downstream AUR steps.

  • Root cause

    • The containerized release job did not guarantee safe.directory configuration before running git-based packaging commands (dist/checksums).
  • Workflow change

    • Added an explicit post-checkout step in .github/workflows/release.yml to mark the Actions workspace as safe for git operations in this job.
    • This ensures git archive and other git commands used during release artifact creation run consistently under the container’s ownership model.
  • Scope

    • Single-file, minimal workflow update.
    • No changes to release scripts, Makefile targets, or package metadata logic.
- name: Mark workspace as safe for git
  run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

@codelif codelif marked this pull request as ready for review June 8, 2026 20:41
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Release artifacts and AUR Release workflow: fix git dubious-ownership failure in “Release artifacts and AUR” Jun 8, 2026
Copilot AI requested a review from codelif June 8, 2026 20:41
@codelif codelif merged commit c11e793 into main Jun 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants