Skip to content

Fix package-deb workflow auth and artifact flow - #7

Closed
MMarcus95 with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-package-deb-job
Closed

Fix package-deb workflow auth and artifact flow#7
MMarcus95 with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-package-deb-job

Conversation

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown

The package-deb job was failing during the packaging reconfigure step because cmake attempted a cross-repository FetchContent clone with a token that did not have sufficient scope. The release workflow also expected a runtime .deb artifact that this pipeline never produced.

  • Packaging auth

    • Use CICD_PAT as the preferred GitHub credential in package-deb, falling back to github.token only when the PAT is unavailable.
    • This aligns the reconfigure-time Git access with the broader credentials already available to the workflow.
    env:
      GITHUB_TOKEN: ${{ secrets.CICD_PAT || github.token }}
  • Artifact flow

    • Remove the release-on-push download step for dls-messages-deb.
    • Keep the workflow aligned with the single artifact currently produced and uploaded by package-deb (dls-messages-dev.deb).
  • Workflow hardening

    • Add explicit permissions to the workflow/jobs instead of relying on default token scopes.
    • Preserve the existing checkout safe-directory behavior for the release job.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job package-deb Fix package-deb workflow auth and artifact flow Jul 2, 2026
Copilot AI requested a review from MMarcus95 July 2, 2026 16:53
@MMarcus95 MMarcus95 closed this Jul 3, 2026
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