Skip to content

Use PAT_WORKSPACE_REPO for create-workspace-template git auth - #7253

Merged
peterkir merged 3 commits into
masterfrom
copilot/fix-create-workspace-template-job
Jun 3, 2026
Merged

peterkir merged 3 commits into
masterfrom
copilot/fix-create-workspace-template-job

Conversation

Copilot AI commented Jun 3, 2026 •

Copy link
Copy Markdown
Contributor

The create-workspace-template job was failing to push to bndtools/workspace during post-release automation. This updates the workflow to use the dedicated workspace PAT secret for authenticated clone/push operations.

  • Authentication source

    • Switched workspace repo credentials from ${{ secrets.GITHUB_TOKEN }} to ${{ secrets.PAT_WORKSPACE_REPO }} in postrelease.yml.
  • Workspace publish path

    • Kept the existing non-interactive x-access-token URL format and only changed the secret backing it, so clone/push behavior stays the same while using the correct token scope.
# .github/workflows/postrelease.yml
env:
  WORKSPACE_REPO: https://x-access-token:${{ secrets.PAT_WORKSPACE_REPO }}@github.com/bndtools/workspace.git

Copilot AI changed the title [WIP] Fix failing GitHub Actions job create-workspace-template Fix postrelease workspace-template push authentication Jun 3, 2026
Copilot AI requested a review from peterkir June 3, 2026 08:49
Copilot AI changed the title Fix postrelease workspace-template push authentication Use PAT_WORKSPACE_REPO for create-workspace-template git auth Jun 3, 2026
@peterkir
peterkir marked this pull request as ready for review June 3, 2026 09:43
@peterkir
peterkir merged commit 835912d into master Jun 3, 2026
1 check passed
@peterkir
peterkir deleted the copilot/fix-create-workspace-template-job branch June 3, 2026 10:16
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